PostgreSQL Source Code
git master
|
#include "postgres.h"
#include "catalog/pg_type.h"
#include "tcop/deparse_utility.h"
#include "tcop/utility.h"
#include "utils/builtins.h"
Go to the source code of this file.
Variables | |
PG_MODULE_MAGIC | |
Datum get_altertable_subcmdtypes | ( | PG_FUNCTION_ARGS | ) |
Definition at line 85 of file test_ddl_deparse.c.
References accumArrayResult(), CollectedCommand::alterTable, AT_AddColumn, AT_AddColumnRecurse, AT_AddColumnToView, AT_AddConstraint, AT_AddConstraintRecurse, AT_AddIndex, AT_AddIndexConstraint, AT_AddInherit, AT_AddOf, AT_AlterColumnGenericOptions, AT_AlterColumnType, AT_AlterConstraint, AT_ChangeOwner, AT_CheckNotNull, AT_ClusterOn, AT_ColumnDefault, AT_CookedColumnDefault, AT_DisableRowSecurity, AT_DisableRule, AT_DisableTrig, AT_DisableTrigAll, AT_DisableTrigUser, AT_DropCluster, AT_DropColumn, AT_DropColumnRecurse, AT_DropConstraint, AT_DropConstraintRecurse, AT_DropInherit, AT_DropNotNull, AT_DropOf, AT_DropOids, AT_EnableAlwaysRule, AT_EnableAlwaysTrig, AT_EnableReplicaRule, AT_EnableReplicaTrig, AT_EnableRowSecurity, AT_EnableRule, AT_EnableTrig, AT_EnableTrigAll, AT_EnableTrigUser, AT_ForceRowSecurity, AT_GenericOptions, AT_NoForceRowSecurity, AT_ReAddComment, AT_ReAddConstraint, AT_ReAddIndex, AT_ReplaceRelOptions, AT_ReplicaIdentity, AT_ResetOptions, AT_ResetRelOptions, AT_SetLogged, AT_SetNotNull, AT_SetOptions, AT_SetRelOptions, AT_SetStatistics, AT_SetStorage, AT_SetTableSpace, AT_SetUnLogged, AT_ValidateConstraint, AT_ValidateConstraintRecurse, castNode, CStringGetTextDatum, CurrentMemoryContext, CollectedCommand::d, elog, ERROR, lfirst, makeArrayResult(), CollectedATSubcmd::parsetree, PG_GETARG_POINTER, PG_RETURN_ARRAYTYPE_P, SCT_AlterTable, AlterTableCmd::subtype, and CollectedCommand::type.
Datum get_command_tag | ( | PG_FUNCTION_ARGS | ) |
Definition at line 70 of file test_ddl_deparse.c.
References CreateCommandName(), cstring_to_text(), CollectedCommand::parsetree, PG_GETARG_POINTER, PG_RETURN_NULL, and PG_RETURN_TEXT_P.
Datum get_command_type | ( | PG_FUNCTION_ARGS | ) |
Definition at line 29 of file test_ddl_deparse.c.
References cstring_to_text(), PG_GETARG_POINTER, PG_RETURN_TEXT_P, SCT_AlterDefaultPrivileges, SCT_AlterOpFamily, SCT_AlterTable, SCT_AlterTSConfig, SCT_CreateOpClass, SCT_Grant, SCT_Simple, generate_unaccent_rules::type, and CollectedCommand::type.
PG_FUNCTION_INFO_V1 | ( | get_altertable_subcmdtypes | ) |
PG_FUNCTION_INFO_V1 | ( | get_command_tag | ) |
PG_FUNCTION_INFO_V1 | ( | get_command_type | ) |
PG_MODULE_MAGIC |
Definition at line 18 of file test_ddl_deparse.c.