76#define ACL_INSERT (1<<0)
77#define ACL_SELECT (1<<1)
78#define ACL_UPDATE (1<<2)
79#define ACL_DELETE (1<<3)
80#define ACL_TRUNCATE (1<<4)
81#define ACL_REFERENCES (1<<5)
82#define ACL_TRIGGER (1<<6)
83#define ACL_EXECUTE (1<<7)
84#define ACL_USAGE (1<<8)
85#define ACL_CREATE (1<<9)
86#define ACL_CREATE_TEMP (1<<10)
87#define ACL_CONNECT (1<<11)
88#define ACL_SET (1<<12)
89#define ACL_ALTER_SYSTEM (1<<13)
90#define ACL_MAINTAIN (1<<14)
91#define N_ACL_RIGHTS 15
92#define ACL_NO_RIGHTS 0
94#define ACL_SELECT_FOR_UPDATE ACL_UPDATE
361 pg_node_attr(custom_copy_equal, custom_read_write, custom_query_jumble)
583#define FRAMEOPTION_NONDEFAULT 0x00001
584#define FRAMEOPTION_RANGE 0x00002
585#define FRAMEOPTION_ROWS 0x00004
586#define FRAMEOPTION_GROUPS 0x00008
587#define FRAMEOPTION_BETWEEN 0x00010
588#define FRAMEOPTION_START_UNBOUNDED_PRECEDING 0x00020
589#define FRAMEOPTION_END_UNBOUNDED_PRECEDING 0x00040
590#define FRAMEOPTION_START_UNBOUNDED_FOLLOWING 0x00080
591#define FRAMEOPTION_END_UNBOUNDED_FOLLOWING 0x00100
592#define FRAMEOPTION_START_CURRENT_ROW 0x00200
593#define FRAMEOPTION_END_CURRENT_ROW 0x00400
594#define FRAMEOPTION_START_OFFSET_PRECEDING 0x00800
595#define FRAMEOPTION_END_OFFSET_PRECEDING 0x01000
596#define FRAMEOPTION_START_OFFSET_FOLLOWING 0x02000
597#define FRAMEOPTION_END_OFFSET_FOLLOWING 0x04000
598#define FRAMEOPTION_EXCLUDE_CURRENT_ROW 0x08000
599#define FRAMEOPTION_EXCLUDE_GROUP 0x10000
600#define FRAMEOPTION_EXCLUDE_TIES 0x20000
602#define FRAMEOPTION_START_OFFSET \
603 (FRAMEOPTION_START_OFFSET_PRECEDING | FRAMEOPTION_START_OFFSET_FOLLOWING)
604#define FRAMEOPTION_END_OFFSET \
605 (FRAMEOPTION_END_OFFSET_PRECEDING | FRAMEOPTION_END_OFFSET_FOLLOWING)
606#define FRAMEOPTION_EXCLUSION \
607 (FRAMEOPTION_EXCLUDE_CURRENT_ROW | FRAMEOPTION_EXCLUDE_GROUP | \
608 FRAMEOPTION_EXCLUDE_TIES)
610#define FRAMEOPTION_DEFAULTS \
611 (FRAMEOPTION_RANGE | FRAMEOPTION_START_UNBOUNDED_PRECEDING | \
612 FRAMEOPTION_END_CURRENT_ROW)
1705#define GetCTETargetList(cte) \
1706 (AssertMacro(IsA((cte)->ctequery, Query)), \
1707 ((Query *) (cte)->ctequery)->commandType == CMD_SELECT ? \
1708 ((Query *) (cte)->ctequery)->targetList : \
1709 ((Query *) (cte)->ctequery)->returningList)
2742#define FKCONSTR_ACTION_NOACTION 'a'
2743#define FKCONSTR_ACTION_RESTRICT 'r'
2744#define FKCONSTR_ACTION_CASCADE 'c'
2745#define FKCONSTR_ACTION_SETNULL 'n'
2746#define FKCONSTR_ACTION_SETDEFAULT 'd'
2749#define FKCONSTR_MATCH_FULL 'f'
2750#define FKCONSTR_MATCH_PARTIAL 'p'
2751#define FKCONSTR_MATCH_SIMPLE 's'
3206#define OPCLASS_ITEM_OPERATOR 1
3207#define OPCLASS_ITEM_FUNCTION 2
3208#define OPCLASS_ITEM_STORAGETYPE 3
3307#define CURSOR_OPT_BINARY 0x0001
3308#define CURSOR_OPT_SCROLL 0x0002
3309#define CURSOR_OPT_NO_SCROLL 0x0004
3310#define CURSOR_OPT_INSENSITIVE 0x0008
3311#define CURSOR_OPT_ASENSITIVE 0x0010
3312#define CURSOR_OPT_HOLD 0x0020
3314#define CURSOR_OPT_FAST_PLAN 0x0100
3315#define CURSOR_OPT_GENERIC_PLAN 0x0200
3316#define CURSOR_OPT_CUSTOM_PLAN 0x0400
3317#define CURSOR_OPT_PARALLEL_OK 0x0800
3352#define FETCH_ALL LONG_MAX
struct AlterDatabaseRefreshCollStmt AlterDatabaseRefreshCollStmt
struct DropSubscriptionStmt DropSubscriptionStmt
struct CreateEnumStmt CreateEnumStmt
struct CreateFunctionStmt CreateFunctionStmt
struct AlterOwnerStmt AlterOwnerStmt
struct ReturnStmt ReturnStmt
struct CreateAmStmt CreateAmStmt
@ ALTER_SUBSCRIPTION_ENABLED
@ ALTER_SUBSCRIPTION_DROP_PUBLICATION
@ ALTER_SUBSCRIPTION_SET_PUBLICATION
@ ALTER_SUBSCRIPTION_REFRESH
@ ALTER_SUBSCRIPTION_SKIP
@ ALTER_SUBSCRIPTION_OPTIONS
@ ALTER_SUBSCRIPTION_CONNECTION
@ ALTER_SUBSCRIPTION_ADD_PUBLICATION
struct TableLikeClause TableLikeClause
struct AlterSystemStmt AlterSystemStmt
@ TRANS_STMT_COMMIT_PREPARED
@ TRANS_STMT_ROLLBACK_PREPARED
struct GrantRoleStmt GrantRoleStmt
struct AlterTSDictionaryStmt AlterTSDictionaryStmt
struct OnConflictClause OnConflictClause
struct JsonTablePathSpec JsonTablePathSpec
struct AlterOperatorStmt AlterOperatorStmt
@ WCO_RLS_MERGE_UPDATE_CHECK
@ WCO_RLS_MERGE_DELETE_CHECK
struct RangeTblFunction RangeTblFunction
struct JsonScalarExpr JsonScalarExpr
struct JsonArrayAgg JsonArrayAgg
struct A_Indirection A_Indirection
struct XmlSerialize XmlSerialize
struct DeallocateStmt DeallocateStmt
struct CreateSeqStmt CreateSeqStmt
struct DropTableSpaceStmt DropTableSpaceStmt
struct CreateExtensionStmt CreateExtensionStmt
struct A_Indices A_Indices
struct CreateTableSpaceStmt CreateTableSpaceStmt
struct ReassignOwnedStmt ReassignOwnedStmt
struct VacuumStmt VacuumStmt
struct NotifyStmt NotifyStmt
struct TriggerTransition TriggerTransition
struct ClusterStmt ClusterStmt
struct MergeStmt MergeStmt
struct SelectStmt SelectStmt
struct DropdbStmt DropdbStmt
struct FunctionParameter FunctionParameter
struct UnlistenStmt UnlistenStmt
struct InsertStmt InsertStmt
struct AlterFunctionStmt AlterFunctionStmt
struct StatsElem StatsElem
struct AlterRoleSetStmt AlterRoleSetStmt
struct CreateOpFamilyStmt CreateOpFamilyStmt
struct CreatePublicationStmt CreatePublicationStmt
struct InlineCodeBlock InlineCodeBlock
struct CreateDomainStmt CreateDomainStmt
struct AlterDomainStmt AlterDomainStmt
struct AlterDefaultPrivilegesStmt AlterDefaultPrivilegesStmt
struct CreateStatsStmt CreateStatsStmt
struct JsonOutput JsonOutput
struct UpdateStmt UpdateStmt
struct AlterObjectDependsStmt AlterObjectDependsStmt
struct IndexElem IndexElem
struct AlterCollationStmt AlterCollationStmt
struct CreateForeignTableStmt CreateForeignTableStmt
struct CreateOpClassStmt CreateOpClassStmt
struct JsonObjectConstructor JsonObjectConstructor
@ ALTER_TSCONFIG_ALTER_MAPPING_FOR_TOKEN
@ ALTER_TSCONFIG_REPLACE_DICT_FOR_TOKEN
@ ALTER_TSCONFIG_REPLACE_DICT
@ ALTER_TSCONFIG_ADD_MAPPING
@ ALTER_TSCONFIG_DROP_MAPPING
struct AlterForeignServerStmt AlterForeignServerStmt
struct ColumnDef ColumnDef
struct CreatedbStmt CreatedbStmt
struct RTEPermissionInfo RTEPermissionInfo
struct AlterEventTrigStmt AlterEventTrigStmt
struct IndexStmt IndexStmt
struct PartitionCmd PartitionCmd
@ PUBLICATIONOBJ_TABLES_IN_CUR_SCHEMA
@ PUBLICATIONOBJ_TABLES_IN_SCHEMA
@ PUBLICATIONOBJ_CONTINUATION
struct JsonArrayConstructor JsonArrayConstructor
@ PARTITION_STRATEGY_HASH
@ PARTITION_STRATEGY_LIST
@ PARTITION_STRATEGY_RANGE
@ FDW_IMPORT_SCHEMA_LIMIT_TO
@ FDW_IMPORT_SCHEMA_EXCEPT
struct AlterRoleStmt AlterRoleStmt
struct MergeWhenClause MergeWhenClause
struct WindowDef WindowDef
struct CommentStmt CommentStmt
struct JsonArgument JsonArgument
struct JsonArrayQueryConstructor JsonArrayQueryConstructor
struct WithClause WithClause
struct AlterObjectSchemaStmt AlterObjectSchemaStmt
struct MultiAssignRef MultiAssignRef
struct ImportForeignSchemaStmt ImportForeignSchemaStmt
struct ReindexStmt ReindexStmt
struct CreateSubscriptionStmt CreateSubscriptionStmt
struct JsonTableColumn JsonTableColumn
struct DeleteStmt DeleteStmt
struct AlterSubscriptionStmt AlterSubscriptionStmt
struct AlterStatsStmt AlterStatsStmt
struct AlterPublicationStmt AlterPublicationStmt
struct RangeFunction RangeFunction
struct PLAssignStmt PLAssignStmt
struct ColumnRef ColumnRef
@ CONSTR_ATTR_NOT_DEFERRABLE
@ PARTITION_RANGE_DATUM_MAXVALUE
@ PARTITION_RANGE_DATUM_VALUE
@ PARTITION_RANGE_DATUM_MINVALUE
struct GroupingSet GroupingSet
struct CreatePolicyStmt CreatePolicyStmt
@ OBJECT_PUBLICATION_NAMESPACE
struct ListenStmt ListenStmt
struct PublicationObjSpec PublicationObjSpec
struct AlterTableSpaceOptionsStmt AlterTableSpaceOptionsStmt
struct CreateRoleStmt CreateRoleStmt
struct AlterTableCmd AlterTableCmd
struct RangeTableSample RangeTableSample
struct DropUserMappingStmt DropUserMappingStmt
@ REINDEX_OBJECT_DATABASE
struct CreateForeignServerStmt CreateForeignServerStmt
struct LockingClause LockingClause
@ AT_DetachPartitionFinalize
@ AT_ReAddDomainConstraint
@ AT_AlterColumnGenericOptions
struct WithCheckOption WithCheckOption
@ ACL_TARGET_ALL_IN_SCHEMA
struct CreateEventTrigStmt CreateEventTrigStmt
struct JsonObjectAgg JsonObjectAgg
struct DropOwnedStmt DropOwnedStmt
struct VariableShowStmt VariableShowStmt
struct CreateTransformStmt CreateTransformStmt
struct AlterUserMappingStmt AlterUserMappingStmt
struct PartitionRangeDatum PartitionRangeDatum
struct A_ArrayExpr A_ArrayExpr
struct JsonFuncExpr JsonFuncExpr
struct RangeTableFunc RangeTableFunc
struct InferClause InferClause
struct RangeSubselect RangeSubselect
struct CreateOpClassItem CreateOpClassItem
struct PrepareStmt PrepareStmt
struct AlterOpFamilyStmt AlterOpFamilyStmt
struct ConstraintsSetStmt ConstraintsSetStmt
struct JsonParseExpr JsonParseExpr
struct GrantStmt GrantStmt
struct SetOperationStmt SetOperationStmt
struct CreateTrigStmt CreateTrigStmt
struct CTECycleClause CTECycleClause
struct VacuumRelation VacuumRelation
struct RenameStmt RenameStmt
struct DefineStmt DefineStmt
struct CreateStmt CreateStmt
struct CreateSchemaStmt CreateSchemaStmt
struct VariableSetStmt VariableSetStmt
struct JsonAggConstructor JsonAggConstructor
struct CommonTableExpr CommonTableExpr
struct TableSampleClause TableSampleClause
struct AlterPolicyStmt AlterPolicyStmt
struct CreateConversionStmt CreateConversionStmt
struct ResTarget ResTarget
struct DropRoleStmt DropRoleStmt
struct DiscardStmt DiscardStmt
struct JsonKeyValue JsonKeyValue
struct AlterExtensionStmt AlterExtensionStmt
struct AlterTableStmt AlterTableStmt
struct PartitionElem PartitionElem
struct ClosePortalStmt ClosePortalStmt
struct AccessPriv AccessPriv
struct Constraint Constraint
struct CreatePLangStmt CreatePLangStmt
struct CreateRangeStmt CreateRangeStmt
struct CreateUserMappingStmt CreateUserMappingStmt
struct AlterDatabaseSetStmt AlterDatabaseSetStmt
struct AlterTableMoveAllStmt AlterTableMoveAllStmt
struct AlterSeqStmt AlterSeqStmt
struct PublicationTable PublicationTable
struct RowMarkClause RowMarkClause
struct CreateTableAsStmt CreateTableAsStmt
struct TransactionStmt TransactionStmt
struct CreateFdwStmt CreateFdwStmt
struct DeclareCursorStmt DeclareCursorStmt
struct ExecuteStmt ExecuteStmt
struct WindowClause WindowClause
struct SecLabelStmt SecLabelStmt
struct AlterTSConfigurationStmt AlterTSConfigurationStmt
struct AlterDatabaseStmt AlterDatabaseStmt
struct AlterExtensionContentsStmt AlterExtensionContentsStmt
@ CREATE_TABLE_LIKE_COMMENTS
@ CREATE_TABLE_LIKE_GENERATED
@ CREATE_TABLE_LIKE_IDENTITY
@ CREATE_TABLE_LIKE_COMPRESSION
@ CREATE_TABLE_LIKE_STORAGE
@ CREATE_TABLE_LIKE_INDEXES
@ CREATE_TABLE_LIKE_DEFAULTS
@ CREATE_TABLE_LIKE_STATISTICS
@ CREATE_TABLE_LIKE_CONSTRAINTS
struct AlterEnumStmt AlterEnumStmt
struct CreateCastStmt CreateCastStmt
struct CheckPointStmt CheckPointStmt
struct RefreshMatViewStmt RefreshMatViewStmt
struct TruncateStmt TruncateStmt
struct AlterFdwStmt AlterFdwStmt
struct RangeTblEntry RangeTblEntry
@ SET_QUANTIFIER_DISTINCT
struct RangeTableFuncCol RangeTableFuncCol
struct SortGroupClause SortGroupClause
struct CollateClause CollateClause
struct ExplainStmt ExplainStmt
struct AlterTypeStmt AlterTypeStmt
struct CallContext CallContext
struct ObjectWithArgs ObjectWithArgs
struct ReplicaIdentityStmt ReplicaIdentityStmt
struct CompositeTypeStmt CompositeTypeStmt
struct JsonTable JsonTable
struct FetchStmt FetchStmt
struct JsonSerializeExpr JsonSerializeExpr
struct PartitionSpec PartitionSpec
struct CTESearchClause CTESearchClause
pg_node_attr(custom_copy_equal, custom_read_write, custom_query_jumble) NodeTag type
pg_node_attr(custom_read_write) NodeTag type
VariableSetStmt * setstmt
ObjectWithArgs * opername
AlterPublicationAction action
VariableSetStmt * setstmt
AlterSubscriptionType kind
VariableSetStmt * setstmt
char * new_tablespacename
char * orig_tablespacename
Node * cycle_mark_default
bool search_breadth_first
pg_node_attr(nodetag_only) NodeTag type
FuncCall *funccall pg_node_attr(query_jumble_ignore)
CollateClause * collClause
RangeVar * identitySequence
int cterefcount pg_node_attr(query_jumble_ignore)
List *aliascolnames pg_node_attr(query_jumble_ignore)
List *ctecoltypes pg_node_attr(query_jumble_ignore)
CTECycleClause *cycle_clause pg_node_attr(query_jumble_ignore)
List *ctecoltypmods pg_node_attr(query_jumble_ignore)
CTESearchClause *search_clause pg_node_attr(query_jumble_ignore)
CTEMaterialize ctematerialized
List *ctecolnames pg_node_attr(query_jumble_ignore)
List *ctecolcollations pg_node_attr(query_jumble_ignore)
bool cterecursive pg_node_attr(query_jumble_ignore)
bool reset_default_tblspc
CollateClause * collClause
PartitionBoundSpec * partbound
char *name pg_node_attr(query_jumble_ignore)
ParseLoc location pg_node_attr(query_jumble_location)
FunctionParameterMode mode
GroupingSetKind kind pg_node_attr(query_jumble_ignore)
ImportForeignSchemaType list_type
SortByNulls nulls_ordering
bool reset_default_tblspc
SubTransactionId oldFirstRelfilelocatorSubid
SubTransactionId oldCreateSubid
List * indexIncludingParams
pg_node_attr(nodetag_only) NodeTag type
OnConflictClause * onConflictClause
JsonAggConstructor * constructor
JsonValueExpr * context_item
JsonAggConstructor * constructor
JsonReturning * returning
JsonTableColumnType coltype
JsonTablePathSpec * pathspec
JsonTablePathSpec * pathspec
JsonValueExpr * context_item
LockClauseStrength strength
LockWaitPolicy waitPolicy
PartitionBoundSpec * bound
PartitionRangeDatumKind kind
PartitionStrategy strategy
PublicationObjSpecType pubobjtype
PublicationTable * pubtable
int mergeTargetRelation pg_node_attr(query_jumble_ignore)
bool hasAggs pg_node_attr(query_jumble_ignore)
bool hasRecursive pg_node_attr(query_jumble_ignore)
Node * mergeJoinCondition
bool canSetTag pg_node_attr(query_jumble_ignore)
bool hasSubLinks pg_node_attr(query_jumble_ignore)
OnConflictExpr * onConflict
OverridingKind override pg_node_attr(query_jumble_ignore)
List *rteperminfos pg_node_attr(query_jumble_ignore)
bool hasTargetSRFs pg_node_attr(query_jumble_ignore)
bool hasGroupRTE pg_node_attr(query_jumble_ignore)
int resultRelation pg_node_attr(query_jumble_ignore)
List *withCheckOptions pg_node_attr(query_jumble_ignore)
ParseLoc stmt_len pg_node_attr(query_jumble_ignore)
bool hasDistinctOn pg_node_attr(query_jumble_ignore)
List *constraintDeps pg_node_attr(query_jumble_ignore)
bool isReturn pg_node_attr(query_jumble_ignore)
uint64 queryId pg_node_attr(equal_ignore, query_jumble_ignore, read_write_ignore, read_as(0))
bool hasWindowFuncs pg_node_attr(query_jumble_ignore)
bool hasModifyingCTE pg_node_attr(query_jumble_ignore)
bool hasForUpdate pg_node_attr(query_jumble_ignore)
bool hasRowSecurity pg_node_attr(query_jumble_ignore)
QuerySource querySource pg_node_attr(query_jumble_ignore)
List *colcollations pg_node_attr(query_jumble_ignore)
List *joinrightcols pg_node_attr(query_jumble_ignore)
Cardinality enrtuples pg_node_attr(query_jumble_ignore)
Alias *alias pg_node_attr(query_jumble_ignore)
List *groupexprs pg_node_attr(query_jumble_ignore)
List *joinleftcols pg_node_attr(query_jumble_ignore)
bool inFromCl pg_node_attr(query_jumble_ignore)
bool lateral pg_node_attr(query_jumble_ignore)
List *joinaliasvars pg_node_attr(query_jumble_ignore)
bool security_barrier pg_node_attr(query_jumble_ignore)
Alias *eref pg_node_attr(query_jumble_ignore)
struct TableSampleClause * tablesample
List *coltypmods pg_node_attr(query_jumble_ignore)
List *securityQuals pg_node_attr(query_jumble_ignore)
int rellockmode pg_node_attr(query_jumble_ignore)
pg_node_attr(custom_read_write) NodeTag type
char relkind pg_node_attr(query_jumble_ignore)
int joinmergedcols pg_node_attr(query_jumble_ignore)
Index perminfoindex pg_node_attr(query_jumble_ignore)
bool self_reference pg_node_attr(query_jumble_ignore)
List *coltypes pg_node_attr(query_jumble_ignore)
Alias *join_using_alias pg_node_attr(query_jumble_ignore)
List *funccolcollations pg_node_attr(query_jumble_ignore)
Bitmapset *funcparams pg_node_attr(query_jumble_ignore)
List *funccolnames pg_node_attr(query_jumble_ignore)
int funccolcount pg_node_attr(query_jumble_ignore)
List *funccoltypes pg_node_attr(query_jumble_ignore)
List *funccoltypmods pg_node_attr(query_jumble_ignore)
pg_node_attr(no_query_jumble) NodeTag type
LockClauseStrength strength
LockWaitPolicy waitPolicy
List *colCollations pg_node_attr(query_jumble_ignore)
List *colTypes pg_node_attr(query_jumble_ignore)
List *groupClauses pg_node_attr(query_jumble_ignore)
List *colTypmods pg_node_attr(query_jumble_ignore)
bool hashable pg_node_attr(query_jumble_ignore)
ParseLoc location pg_node_attr(query_jumble_location)
char *savepoint_name pg_node_attr(query_jumble_ignore)
char *gid pg_node_attr(query_jumble_ignore)
ParseLoc location pg_node_attr(query_jumble_location)
pg_node_attr(custom_query_jumble) NodeTag type
ViewCheckOption withCheckOption
bool inRangeNullsFirst pg_node_attr(query_jumble_ignore)
bool inRangeAsc pg_node_attr(query_jumble_ignore)
Oid inRangeColl pg_node_attr(query_jumble_ignore)
bool copiedOrder pg_node_attr(query_jumble_ignore)
char *refname pg_node_attr(query_jumble_ignore)
Oid startInRangeFunc pg_node_attr(query_jumble_ignore)
Oid endInRangeFunc pg_node_attr(query_jumble_ignore)
char *name pg_node_attr(query_jumble_ignore)