83 #define ACL_INSERT (1<<0)
84 #define ACL_SELECT (1<<1)
85 #define ACL_UPDATE (1<<2)
86 #define ACL_DELETE (1<<3)
87 #define ACL_TRUNCATE (1<<4)
88 #define ACL_REFERENCES (1<<5)
89 #define ACL_TRIGGER (1<<6)
90 #define ACL_EXECUTE (1<<7)
91 #define ACL_USAGE (1<<8)
92 #define ACL_CREATE (1<<9)
93 #define ACL_CREATE_TEMP (1<<10)
94 #define ACL_CONNECT (1<<11)
95 #define ACL_SET (1<<12)
96 #define ACL_ALTER_SYSTEM (1<<13)
97 #define N_ACL_RIGHTS 14
98 #define ACL_NO_RIGHTS 0
100 #define ACL_SELECT_FOR_UPDATE ACL_UPDATE
137 uint64 queryId
pg_node_attr(equal_ignore, query_jumble_ignore, read_write_ignore, read_as(0));
356 pg_node_attr(custom_copy_equal, custom_read_write, custom_query_jumble)
578 #define FRAMEOPTION_NONDEFAULT 0x00001
579 #define FRAMEOPTION_RANGE 0x00002
580 #define FRAMEOPTION_ROWS 0x00004
581 #define FRAMEOPTION_GROUPS 0x00008
582 #define FRAMEOPTION_BETWEEN 0x00010
583 #define FRAMEOPTION_START_UNBOUNDED_PRECEDING 0x00020
584 #define FRAMEOPTION_END_UNBOUNDED_PRECEDING 0x00040
585 #define FRAMEOPTION_START_UNBOUNDED_FOLLOWING 0x00080
586 #define FRAMEOPTION_END_UNBOUNDED_FOLLOWING 0x00100
587 #define FRAMEOPTION_START_CURRENT_ROW 0x00200
588 #define FRAMEOPTION_END_CURRENT_ROW 0x00400
589 #define FRAMEOPTION_START_OFFSET_PRECEDING 0x00800
590 #define FRAMEOPTION_END_OFFSET_PRECEDING 0x01000
591 #define FRAMEOPTION_START_OFFSET_FOLLOWING 0x02000
592 #define FRAMEOPTION_END_OFFSET_FOLLOWING 0x04000
593 #define FRAMEOPTION_EXCLUDE_CURRENT_ROW 0x08000
594 #define FRAMEOPTION_EXCLUDE_GROUP 0x10000
595 #define FRAMEOPTION_EXCLUDE_TIES 0x20000
597 #define FRAMEOPTION_START_OFFSET \
598 (FRAMEOPTION_START_OFFSET_PRECEDING | FRAMEOPTION_START_OFFSET_FOLLOWING)
599 #define FRAMEOPTION_END_OFFSET \
600 (FRAMEOPTION_END_OFFSET_PRECEDING | FRAMEOPTION_END_OFFSET_FOLLOWING)
601 #define FRAMEOPTION_EXCLUSION \
602 (FRAMEOPTION_EXCLUDE_CURRENT_ROW | FRAMEOPTION_EXCLUDE_GROUP | \
603 FRAMEOPTION_EXCLUDE_TIES)
605 #define FRAMEOPTION_DEFAULTS \
606 (FRAMEOPTION_RANGE | FRAMEOPTION_START_UNBOUNDED_PRECEDING | \
607 FRAMEOPTION_END_CURRENT_ROW)
1660 #define GetCTETargetList(cte) \
1661 (AssertMacro(IsA((cte)->ctequery, Query)), \
1662 ((Query *) (cte)->ctequery)->commandType == CMD_SELECT ? \
1663 ((Query *) (cte)->ctequery)->targetList : \
1664 ((Query *) (cte)->ctequery)->returningList)
2579 #define FKCONSTR_ACTION_NOACTION 'a'
2580 #define FKCONSTR_ACTION_RESTRICT 'r'
2581 #define FKCONSTR_ACTION_CASCADE 'c'
2582 #define FKCONSTR_ACTION_SETNULL 'n'
2583 #define FKCONSTR_ACTION_SETDEFAULT 'd'
2586 #define FKCONSTR_MATCH_FULL 'f'
2587 #define FKCONSTR_MATCH_PARTIAL 'p'
2588 #define FKCONSTR_MATCH_SIMPLE 's'
3054 #define OPCLASS_ITEM_OPERATOR 1
3055 #define OPCLASS_ITEM_FUNCTION 2
3056 #define OPCLASS_ITEM_STORAGETYPE 3
3155 #define CURSOR_OPT_BINARY 0x0001
3156 #define CURSOR_OPT_SCROLL 0x0002
3157 #define CURSOR_OPT_NO_SCROLL 0x0004
3158 #define CURSOR_OPT_INSENSITIVE 0x0008
3159 #define CURSOR_OPT_ASENSITIVE 0x0010
3160 #define CURSOR_OPT_HOLD 0x0020
3162 #define CURSOR_OPT_FAST_PLAN 0x0100
3163 #define CURSOR_OPT_GENERIC_PLAN 0x0200
3164 #define CURSOR_OPT_CUSTOM_PLAN 0x0400
3165 #define CURSOR_OPT_PARALLEL_OK 0x0800
3200 #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 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 JsonArrayQueryConstructor JsonArrayQueryConstructor
struct WithClause WithClause
struct AlterObjectSchemaStmt AlterObjectSchemaStmt
struct MultiAssignRef MultiAssignRef
struct ImportForeignSchemaStmt ImportForeignSchemaStmt
struct ReindexStmt ReindexStmt
struct CreateSubscriptionStmt CreateSubscriptionStmt
struct DeleteStmt DeleteStmt