PostgreSQL Source Code
git master
|
#include "postgres.h"
#include "funcapi.h"
#include "nodes/execnodes.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_subcmdinfo | ( | PG_FUNCTION_ARGS | ) |
Definition at line 86 of file test_ddl_deparse.c.
References CollectedATSubcmd::address, CollectedCommand::alterTable, AT_AddColumn, AT_AddColumnToView, AT_AddConstraint, AT_AddIdentity, AT_AddIndex, AT_AddIndexConstraint, AT_AddInherit, AT_AddOf, AT_AlterColumnGenericOptions, AT_AlterColumnType, AT_AlterConstraint, AT_AttachPartition, AT_ChangeOwner, AT_ClusterOn, AT_ColumnDefault, AT_CookedColumnDefault, AT_DetachPartition, AT_DetachPartitionFinalize, AT_DisableRowSecurity, AT_DisableRule, AT_DisableTrig, AT_DisableTrigAll, AT_DisableTrigUser, AT_DropCluster, AT_DropColumn, AT_DropConstraint, AT_DropExpression, AT_DropIdentity, 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_ReAddDomainConstraint, AT_ReAddIndex, AT_ReAddStatistics, AT_ReplaceRelOptions, AT_ReplicaIdentity, AT_ResetOptions, AT_ResetRelOptions, AT_SetAccessMethod, AT_SetCompression, AT_SetExpression, AT_SetIdentity, AT_SetLogged, AT_SetNotNull, AT_SetOptions, AT_SetRelOptions, AT_SetStatistics, AT_SetStorage, AT_SetTableSpace, AT_SetUnLogged, AT_ValidateConstraint, castNode, CStringGetTextDatum, CollectedCommand::d, elog, ERROR, getObjectDescription(), if(), InitMaterializedSRF(), lfirst, NIL, ObjectAddress::objectId, OidIsValid, CollectedATSubcmd::parsetree, PG_GETARG_POINTER, psprintf(), AlterTableCmd::recurse, SCT_AlterTable, ReturnSetInfo::setDesc, ReturnSetInfo::setResult, AlterTableCmd::subtype, tuplestore_putvalues(), CollectedCommand::type, and values.
Datum get_command_tag | ( | PG_FUNCTION_ARGS | ) |
Definition at line 71 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 30 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, type, and CollectedCommand::type.
PG_FUNCTION_INFO_V1 | ( | get_altertable_subcmdinfo | ) |
PG_FUNCTION_INFO_V1 | ( | get_command_tag | ) |
PG_FUNCTION_INFO_V1 | ( | get_command_type | ) |
PG_MODULE_MAGIC |
Definition at line 19 of file test_ddl_deparse.c.