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 ACL_MAINTAIN (1<<14)
98 #define N_ACL_RIGHTS 15
99 #define ACL_NO_RIGHTS 0
101 #define ACL_SELECT_FOR_UPDATE ACL_UPDATE
138 uint64 queryId
pg_node_attr(equal_ignore, query_jumble_ignore, read_write_ignore, read_as(0));
357 pg_node_attr(custom_copy_equal, custom_read_write, custom_query_jumble)
579 #define FRAMEOPTION_NONDEFAULT 0x00001
580 #define FRAMEOPTION_RANGE 0x00002
581 #define FRAMEOPTION_ROWS 0x00004
582 #define FRAMEOPTION_GROUPS 0x00008
583 #define FRAMEOPTION_BETWEEN 0x00010
584 #define FRAMEOPTION_START_UNBOUNDED_PRECEDING 0x00020
585 #define FRAMEOPTION_END_UNBOUNDED_PRECEDING 0x00040
586 #define FRAMEOPTION_START_UNBOUNDED_FOLLOWING 0x00080
587 #define FRAMEOPTION_END_UNBOUNDED_FOLLOWING 0x00100
588 #define FRAMEOPTION_START_CURRENT_ROW 0x00200
589 #define FRAMEOPTION_END_CURRENT_ROW 0x00400
590 #define FRAMEOPTION_START_OFFSET_PRECEDING 0x00800
591 #define FRAMEOPTION_END_OFFSET_PRECEDING 0x01000
592 #define FRAMEOPTION_START_OFFSET_FOLLOWING 0x02000
593 #define FRAMEOPTION_END_OFFSET_FOLLOWING 0x04000
594 #define FRAMEOPTION_EXCLUDE_CURRENT_ROW 0x08000
595 #define FRAMEOPTION_EXCLUDE_GROUP 0x10000
596 #define FRAMEOPTION_EXCLUDE_TIES 0x20000
598 #define FRAMEOPTION_START_OFFSET \
599 (FRAMEOPTION_START_OFFSET_PRECEDING | FRAMEOPTION_START_OFFSET_FOLLOWING)
600 #define FRAMEOPTION_END_OFFSET \
601 (FRAMEOPTION_END_OFFSET_PRECEDING | FRAMEOPTION_END_OFFSET_FOLLOWING)
602 #define FRAMEOPTION_EXCLUSION \
603 (FRAMEOPTION_EXCLUDE_CURRENT_ROW | FRAMEOPTION_EXCLUDE_GROUP | \
604 FRAMEOPTION_EXCLUDE_TIES)
606 #define FRAMEOPTION_DEFAULTS \
607 (FRAMEOPTION_RANGE | FRAMEOPTION_START_UNBOUNDED_PRECEDING | \
608 FRAMEOPTION_END_CURRENT_ROW)
1659 #define GetCTETargetList(cte) \
1660 (AssertMacro(IsA((cte)->ctequery, Query)), \
1661 ((Query *) (cte)->ctequery)->commandType == CMD_SELECT ? \
1662 ((Query *) (cte)->ctequery)->targetList : \
1663 ((Query *) (cte)->ctequery)->returningList)
2541 #define FKCONSTR_ACTION_NOACTION 'a'
2542 #define FKCONSTR_ACTION_RESTRICT 'r'
2543 #define FKCONSTR_ACTION_CASCADE 'c'
2544 #define FKCONSTR_ACTION_SETNULL 'n'
2545 #define FKCONSTR_ACTION_SETDEFAULT 'd'
2548 #define FKCONSTR_MATCH_FULL 'f'
2549 #define FKCONSTR_MATCH_PARTIAL 'p'
2550 #define FKCONSTR_MATCH_SIMPLE 's'
3013 #define OPCLASS_ITEM_OPERATOR 1
3014 #define OPCLASS_ITEM_FUNCTION 2
3015 #define OPCLASS_ITEM_STORAGETYPE 3
3114 #define CURSOR_OPT_BINARY 0x0001
3115 #define CURSOR_OPT_SCROLL 0x0002
3116 #define CURSOR_OPT_NO_SCROLL 0x0004
3117 #define CURSOR_OPT_INSENSITIVE 0x0008
3118 #define CURSOR_OPT_ASENSITIVE 0x0010
3119 #define CURSOR_OPT_HOLD 0x0020
3121 #define CURSOR_OPT_FAST_PLAN 0x0100
3122 #define CURSOR_OPT_GENERIC_PLAN 0x0200
3123 #define CURSOR_OPT_CUSTOM_PLAN 0x0400
3124 #define CURSOR_OPT_PARALLEL_OK 0x0800
3159 #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 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
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