PostgreSQL Source Code
git master
|
#include "nodes/bitmapset.h"
#include "nodes/lockoptions.h"
#include "nodes/primnodes.h"
#include "nodes/value.h"
#include "partitioning/partdefs.h"
Go to the source code of this file.
Macros | |
#define | ACL_INSERT (1<<0) /* for relations */ |
#define | ACL_SELECT (1<<1) |
#define | ACL_UPDATE (1<<2) |
#define | ACL_DELETE (1<<3) |
#define | ACL_TRUNCATE (1<<4) |
#define | ACL_REFERENCES (1<<5) |
#define | ACL_TRIGGER (1<<6) |
#define | ACL_EXECUTE (1<<7) /* for functions */ |
#define | ACL_USAGE |
#define | ACL_CREATE (1<<9) /* for namespaces and databases */ |
#define | ACL_CREATE_TEMP (1<<10) /* for databases */ |
#define | ACL_CONNECT (1<<11) /* for databases */ |
#define | N_ACL_RIGHTS 12 /* 1 plus the last 1<<x */ |
#define | ACL_NO_RIGHTS 0 |
#define | ACL_SELECT_FOR_UPDATE ACL_UPDATE |
#define | FRAMEOPTION_NONDEFAULT 0x00001 /* any specified? */ |
#define | FRAMEOPTION_RANGE 0x00002 /* RANGE behavior */ |
#define | FRAMEOPTION_ROWS 0x00004 /* ROWS behavior */ |
#define | FRAMEOPTION_GROUPS 0x00008 /* GROUPS behavior */ |
#define | FRAMEOPTION_BETWEEN 0x00010 /* BETWEEN given? */ |
#define | FRAMEOPTION_START_UNBOUNDED_PRECEDING 0x00020 /* start is U. P. */ |
#define | FRAMEOPTION_END_UNBOUNDED_PRECEDING 0x00040 /* (disallowed) */ |
#define | FRAMEOPTION_START_UNBOUNDED_FOLLOWING 0x00080 /* (disallowed) */ |
#define | FRAMEOPTION_END_UNBOUNDED_FOLLOWING 0x00100 /* end is U. F. */ |
#define | FRAMEOPTION_START_CURRENT_ROW 0x00200 /* start is C. R. */ |
#define | FRAMEOPTION_END_CURRENT_ROW 0x00400 /* end is C. R. */ |
#define | FRAMEOPTION_START_OFFSET_PRECEDING 0x00800 /* start is O. P. */ |
#define | FRAMEOPTION_END_OFFSET_PRECEDING 0x01000 /* end is O. P. */ |
#define | FRAMEOPTION_START_OFFSET_FOLLOWING 0x02000 /* start is O. F. */ |
#define | FRAMEOPTION_END_OFFSET_FOLLOWING 0x04000 /* end is O. F. */ |
#define | FRAMEOPTION_EXCLUDE_CURRENT_ROW 0x08000 /* omit C.R. */ |
#define | FRAMEOPTION_EXCLUDE_GROUP 0x10000 /* omit C.R. & peers */ |
#define | FRAMEOPTION_EXCLUDE_TIES 0x20000 /* omit C.R.'s peers */ |
#define | FRAMEOPTION_START_OFFSET (FRAMEOPTION_START_OFFSET_PRECEDING | FRAMEOPTION_START_OFFSET_FOLLOWING) |
#define | FRAMEOPTION_END_OFFSET (FRAMEOPTION_END_OFFSET_PRECEDING | FRAMEOPTION_END_OFFSET_FOLLOWING) |
#define | FRAMEOPTION_EXCLUSION |
#define | FRAMEOPTION_DEFAULTS |
#define | PARTITION_STRATEGY_HASH 'h' |
#define | PARTITION_STRATEGY_LIST 'l' |
#define | PARTITION_STRATEGY_RANGE 'r' |
#define | GetCTETargetList(cte) |
#define | FKCONSTR_ACTION_NOACTION 'a' |
#define | FKCONSTR_ACTION_RESTRICT 'r' |
#define | FKCONSTR_ACTION_CASCADE 'c' |
#define | FKCONSTR_ACTION_SETNULL 'n' |
#define | FKCONSTR_ACTION_SETDEFAULT 'd' |
#define | FKCONSTR_MATCH_FULL 'f' |
#define | FKCONSTR_MATCH_PARTIAL 'p' |
#define | FKCONSTR_MATCH_SIMPLE 's' |
#define | OPCLASS_ITEM_OPERATOR 1 |
#define | OPCLASS_ITEM_FUNCTION 2 |
#define | OPCLASS_ITEM_STORAGETYPE 3 |
#define | CURSOR_OPT_BINARY 0x0001 /* BINARY */ |
#define | CURSOR_OPT_SCROLL 0x0002 /* SCROLL explicitly given */ |
#define | CURSOR_OPT_NO_SCROLL 0x0004 /* NO SCROLL explicitly given */ |
#define | CURSOR_OPT_INSENSITIVE 0x0008 /* INSENSITIVE */ |
#define | CURSOR_OPT_HOLD 0x0010 /* WITH HOLD */ |
#define | CURSOR_OPT_FAST_PLAN 0x0020 /* prefer fast-start plan */ |
#define | CURSOR_OPT_GENERIC_PLAN 0x0040 /* force use of generic plan */ |
#define | CURSOR_OPT_CUSTOM_PLAN 0x0080 /* force use of custom plan */ |
#define | CURSOR_OPT_PARALLEL_OK 0x0100 /* parallel mode OK */ |
#define | FETCH_ALL LONG_MAX |
#define | REINDEXOPT_VERBOSE 1 << 0 /* print progress info */ |
#define ACL_CONNECT (1<<11) /* for databases */ |
Definition at line 86 of file parsenodes.h.
Referenced by acldefault(), aclparse(), calculate_database_size(), CheckMyDatabase(), convert_aclright_to_string(), convert_database_priv_string(), convert_priv_string(), privilege_to_string(), and string_to_privilege().
#define ACL_CREATE (1<<9) /* for namespaces and databases */ |
Definition at line 84 of file parsenodes.h.
Referenced by aclparse(), AlterExtensionNamespace(), AlterObjectNamespace_internal(), AlterObjectOwner_internal(), AlterObjectRename_internal(), AlterPublicationOwner_internal(), AlterSchemaOwner_internal(), AlterTableMoveAll(), AlterTypeOwner(), ATExecChangeOwner(), ATPrepSetTableSpace(), calculate_tablespace_size(), check_temp_tablespaces(), compute_return_type(), convert_aclright_to_string(), convert_database_priv_string(), convert_priv_string(), convert_role_priv_string(), convert_schema_priv_string(), convert_tablespace_priv_string(), CreateConversionCommand(), createdb(), CreateFunction(), CreatePublication(), CreateSchemaCommand(), DefineAggregate(), DefineCollation(), DefineDomain(), DefineEnum(), DefineIndex(), DefineOpClass(), DefineOperator(), DefineOpFamily(), DefineRange(), DefineRelation(), DefineTSConfiguration(), DefineTSDictionary(), DefineType(), get_other_operator(), LookupCreationNamespace(), movedb(), pg_role_aclcheck(), PrepareTempTablespaces(), privilege_to_string(), RangeVarCallbackForAlterRelation(), RangeVarGetAndCheckCreationNamespace(), RenameSchema(), and string_to_privilege().
#define ACL_CREATE_TEMP (1<<10) /* for databases */ |
Definition at line 85 of file parsenodes.h.
Referenced by acldefault(), aclparse(), convert_aclright_to_string(), convert_database_priv_string(), convert_priv_string(), InitTempTableNamespace(), pg_namespace_aclmask(), privilege_to_string(), and string_to_privilege().
#define ACL_DELETE (1<<3) |
Definition at line 77 of file parsenodes.h.
Referenced by aclparse(), convert_aclright_to_string(), convert_priv_string(), convert_table_priv_string(), LockTableAclCheck(), pg_class_aclmask(), privilege_to_string(), sepgsql_dml_privileges(), string_to_privilege(), and transformDeleteStmt().
#define ACL_EXECUTE (1<<7) /* for functions */ |
Definition at line 81 of file parsenodes.h.
Referenced by acldefault(), aclparse(), call_pltcl_start_proc(), CheckFunctionValidatorAccess(), convert_aclright_to_string(), convert_function_priv_string(), convert_priv_string(), CreateConversionCommand(), CreateTransform(), CreateTrigger(), DefineOperator(), ExecBuildGroupingEqual(), ExecInitAgg(), ExecInitExprRec(), ExecInitFunc(), ExecInitWindowAgg(), ExecuteCallStmt(), findRangeCanonicalFunction(), findRangeSubtypeDiffFunction(), HandleFunctionRequest(), init_sexpr(), initialize_peragg(), inline_function(), inline_set_returning_function(), lookup_agg_function(), privilege_to_string(), string_to_privilege(), ValidateJoinEstimator(), and ValidateRestrictionEstimator().
#define ACL_INSERT (1<<0) /* for relations */ |
Definition at line 74 of file parsenodes.h.
Referenced by aclparse(), convert_aclright_to_string(), convert_column_priv_string(), convert_priv_string(), convert_table_priv_string(), DoCopy(), ExecCheckRTEPerms(), intorel_startup(), LockTableAclCheck(), pg_class_aclmask(), privilege_to_string(), sepgsql_dml_privileges(), string_to_privilege(), and transformInsertStmt().
#define ACL_NO_RIGHTS 0 |
Definition at line 88 of file parsenodes.h.
Referenced by acldefault(), aclnewowner(), aclparse(), aclupdate(), check_circularity(), convert_priv_string(), ExecAlterDefaultPrivilegesStmt(), ExecGrant_Database(), ExecGrant_Fdw(), ExecGrant_ForeignServer(), ExecGrant_Function(), ExecGrant_Language(), ExecGrant_Largeobject(), ExecGrant_Namespace(), ExecGrant_Relation(), ExecGrant_Tablespace(), ExecGrant_Type(), ExecuteGrantStmt(), makeaclitem(), merge_acl_with_grant(), pg_aclmask(), recursive_revoke(), RemoveRoleFromObjectACL(), restrict_and_check_grant(), select_best_grantor(), and SetDefaultACL().
#define ACL_REFERENCES (1<<5) |
Definition at line 79 of file parsenodes.h.
Referenced by aclparse(), checkFkeyPermissions(), convert_aclright_to_string(), convert_column_priv_string(), convert_priv_string(), convert_table_priv_string(), privilege_to_string(), and string_to_privilege().
#define ACL_SELECT (1<<1) |
Definition at line 75 of file parsenodes.h.
Referenced by aclparse(), addRangeTableEntry(), addRangeTableEntryForRelation(), BuildIndexValueDescription(), convert_aclright_to_string(), convert_column_priv_string(), convert_priv_string(), convert_sequence_priv_string(), convert_table_priv_string(), currtid_byrelname(), currtid_byreloid(), currval_oid(), dblink_build_sql_delete(), dblink_build_sql_insert(), dblink_build_sql_update(), dblink_get_pkey(), DoCopy(), examine_simple_variable(), examine_variable(), ExecBuildSlotPartitionKeyDescription(), ExecBuildSlotValueDescription(), ExecCheckRTEPerms(), ExecCheckXactReadOnly(), ExecGrant_Relation(), expandRelAttrs(), ExpandSingleTable(), get_row_security_policies(), inv_open(), lastval(), LockTableAclCheck(), markRTEForSelectPriv(), pg_prewarm(), pg_sequence_last_value(), pg_sequence_parameters(), pgrowlocks(), privilege_to_string(), RI_Initial_Check(), ri_ReportViolation(), sepgsql_dml_privileges(), string_to_privilege(), transformOnConflictArbiter(), and transformTableLikeClause().
#define ACL_SELECT_FOR_UPDATE ACL_UPDATE |
Definition at line 90 of file parsenodes.h.
Referenced by markQueryForLocking(), and transformLockingClause().
#define ACL_TRIGGER (1<<6) |
Definition at line 80 of file parsenodes.h.
Referenced by aclparse(), convert_aclright_to_string(), convert_priv_string(), convert_table_priv_string(), CreateTrigger(), privilege_to_string(), and string_to_privilege().
#define ACL_TRUNCATE (1<<4) |
Definition at line 78 of file parsenodes.h.
Referenced by aclparse(), convert_aclright_to_string(), convert_priv_string(), convert_table_priv_string(), LockTableAclCheck(), pg_class_aclmask(), privilege_to_string(), string_to_privilege(), and truncate_check_rel().
#define ACL_UPDATE (1<<2) |
Definition at line 76 of file parsenodes.h.
Referenced by aclparse(), be_lo_put(), convert_aclright_to_string(), convert_column_priv_string(), convert_priv_string(), convert_sequence_priv_string(), convert_table_priv_string(), do_setval(), ExecCheckRTEPerms(), get_row_security_policies(), inv_open(), LockTableAclCheck(), nextval_internal(), pg_class_aclmask(), pg_sequence_parameters(), privilege_to_string(), sepgsql_dml_privileges(), string_to_privilege(), transformInsertStmt(), and transformUpdateStmt().
#define ACL_USAGE |
Definition at line 82 of file parsenodes.h.
Referenced by acldefault(), aclparse(), AggregateCreate(), AlterForeignServerOwner_internal(), ATExecAddColumn(), ATPrepAlterColumnType(), BuildDescForRelation(), CheckFunctionValidatorAccess(), compute_return_type(), convert_aclright_to_string(), convert_foreign_data_wrapper_priv_string(), convert_language_priv_string(), convert_priv_string(), convert_role_priv_string(), convert_schema_priv_string(), convert_sequence_priv_string(), convert_server_priv_string(), convert_type_priv_string(), CreateCast(), CreateForeignServer(), CreateForeignTable(), CreateFunction(), CreateTransform(), currval_oid(), DefineDomain(), DefineOperator(), DefineRelation(), ExecuteDoStmt(), get_connect_string(), HandleFunctionRequest(), ImportForeignSchema(), interpret_function_parameter_list(), lastval(), LookupExplicitNamespace(), nextval_internal(), pg_class_aclmask(), pg_namespace_aclmask(), pg_role_aclcheck(), pg_sequence_last_value(), pg_sequence_parameters(), privilege_to_string(), recomputeNamespacePath(), string_to_privilege(), transformTableLikeClause(), and user_mapping_ddl_aclcheck().
#define CURSOR_OPT_BINARY 0x0001 /* BINARY */ |
Definition at line 2644 of file parsenodes.h.
Referenced by exec_simple_query(), and pg_cursor().
#define CURSOR_OPT_CUSTOM_PLAN 0x0080 /* force use of custom plan */ |
Definition at line 2652 of file parsenodes.h.
Referenced by choose_custom_plan().
#define CURSOR_OPT_FAST_PLAN 0x0020 /* prefer fast-start plan */ |
Definition at line 2650 of file parsenodes.h.
Referenced by standard_planner().
#define CURSOR_OPT_GENERIC_PLAN 0x0040 /* force use of generic plan */ |
Definition at line 2651 of file parsenodes.h.
Referenced by choose_custom_plan().
#define CURSOR_OPT_HOLD 0x0010 /* WITH HOLD */ |
Definition at line 2648 of file parsenodes.h.
Referenced by PerformCursorOpen(), pg_cursor(), PreCommit_Portals(), and transformDeclareCursorStmt().
#define CURSOR_OPT_INSENSITIVE 0x0008 /* INSENSITIVE */ |
Definition at line 2647 of file parsenodes.h.
Referenced by transformDeclareCursorStmt().
#define CURSOR_OPT_NO_SCROLL 0x0004 /* NO SCROLL explicitly given */ |
Definition at line 2646 of file parsenodes.h.
Referenced by CreatePortal(), PerformCursorOpen(), PortalRunSelect(), SPI_cursor_open_internal(), and transformDeclareCursorStmt().
#define CURSOR_OPT_PARALLEL_OK 0x0100 /* parallel mode OK */ |
Definition at line 2653 of file parsenodes.h.
Referenced by BeginCopy(), exec_eval_expr(), exec_parse_message(), exec_run_select(), exec_simple_query(), exec_stmt_execsql(), ExecCreateTableAs(), execute_sql_string(), ExplainOneUtility(), ExplainQuery(), init_execution_state(), PrepareQuery(), SPI_execute(), SPI_execute_with_args(), and standard_planner().
#define CURSOR_OPT_SCROLL 0x0002 /* SCROLL explicitly given */ |
Definition at line 2645 of file parsenodes.h.
Referenced by PerformCursorOpen(), pg_cursor(), PortalCreateHoldStore(), PortalStart(), SPI_cursor_open_internal(), standard_planner(), and transformDeclareCursorStmt().
#define FETCH_ALL LONG_MAX |
Definition at line 2688 of file parsenodes.h.
Referenced by DoPortalRunFetch(), exec_execute_message(), exec_simple_query(), ExecuteQuery(), and PortalRunSelect().
#define FKCONSTR_ACTION_CASCADE 'c' |
Definition at line 2080 of file parsenodes.h.
Referenced by ConvertTriggerToFK(), createForeignKeyActionTriggers(), and pg_get_constraintdef_worker().
#define FKCONSTR_ACTION_NOACTION 'a' |
Definition at line 2078 of file parsenodes.h.
Referenced by ConvertTriggerToFK(), createForeignKeyActionTriggers(), and pg_get_constraintdef_worker().
#define FKCONSTR_ACTION_RESTRICT 'r' |
Definition at line 2079 of file parsenodes.h.
Referenced by ConvertTriggerToFK(), createForeignKeyActionTriggers(), and pg_get_constraintdef_worker().
#define FKCONSTR_ACTION_SETDEFAULT 'd' |
Definition at line 2082 of file parsenodes.h.
Referenced by ConvertTriggerToFK(), createForeignKeyActionTriggers(), and pg_get_constraintdef_worker().
#define FKCONSTR_ACTION_SETNULL 'n' |
Definition at line 2081 of file parsenodes.h.
Referenced by ConvertTriggerToFK(), createForeignKeyActionTriggers(), and pg_get_constraintdef_worker().
#define FKCONSTR_MATCH_FULL 'f' |
Definition at line 2085 of file parsenodes.h.
Referenced by ConvertTriggerToFK(), pg_get_constraintdef_worker(), RI_FKey_cascade_del(), RI_FKey_cascade_upd(), RI_FKey_check(), RI_FKey_fk_upd_check_required(), RI_FKey_pk_upd_check_required(), RI_Initial_Check(), ri_restrict(), ri_setdefault(), and ri_setnull().
#define FKCONSTR_MATCH_PARTIAL 'p' |
Definition at line 2086 of file parsenodes.h.
Referenced by pg_get_constraintdef_worker(), RI_FKey_cascade_del(), RI_FKey_cascade_upd(), RI_FKey_check(), RI_FKey_fk_upd_check_required(), RI_FKey_pk_upd_check_required(), RI_Initial_Check(), ri_restrict(), ri_setdefault(), and ri_setnull().
#define FKCONSTR_MATCH_SIMPLE 's' |
Definition at line 2087 of file parsenodes.h.
Referenced by ConvertTriggerToFK(), pg_get_constraintdef_worker(), RI_FKey_cascade_del(), RI_FKey_cascade_upd(), RI_FKey_check(), RI_FKey_fk_upd_check_required(), RI_FKey_pk_upd_check_required(), RI_Initial_Check(), ri_restrict(), ri_setdefault(), and ri_setnull().
#define FRAMEOPTION_BETWEEN 0x00010 /* BETWEEN given? */ |
Definition at line 509 of file parsenodes.h.
Referenced by get_rule_windowspec().
#define FRAMEOPTION_DEFAULTS |
Definition at line 532 of file parsenodes.h.
Referenced by transformWindowDefinitions(), and transformWindowFuncCall().
#define FRAMEOPTION_END_CURRENT_ROW 0x00400 /* end is C. R. */ |
Definition at line 515 of file parsenodes.h.
Referenced by eval_windowaggregates(), get_rule_windowspec(), row_is_in_frame(), and update_frametailpos().
#define FRAMEOPTION_END_OFFSET (FRAMEOPTION_END_OFFSET_PRECEDING | FRAMEOPTION_END_OFFSET_FOLLOWING) |
Definition at line 526 of file parsenodes.h.
Referenced by ExecWindowAgg(), get_rule_windowspec(), row_is_in_frame(), transformWindowDefinitions(), and update_frametailpos().
#define FRAMEOPTION_END_OFFSET_FOLLOWING 0x04000 /* end is O. F. */ |
Definition at line 519 of file parsenodes.h.
Referenced by get_rule_windowspec().
#define FRAMEOPTION_END_OFFSET_PRECEDING 0x01000 /* end is O. P. */ |
Definition at line 517 of file parsenodes.h.
Referenced by get_rule_windowspec(), row_is_in_frame(), and update_frametailpos().
#define FRAMEOPTION_END_UNBOUNDED_FOLLOWING 0x00100 /* end is U. F. */ |
Definition at line 513 of file parsenodes.h.
Referenced by begin_partition(), eval_windowaggregates(), ExecInitWindowAgg(), get_rule_windowspec(), and update_frametailpos().
#define FRAMEOPTION_END_UNBOUNDED_PRECEDING 0x00040 /* (disallowed) */ |
Definition at line 511 of file parsenodes.h.
#define FRAMEOPTION_EXCLUDE_CURRENT_ROW 0x08000 /* omit C.R. */ |
Definition at line 520 of file parsenodes.h.
Referenced by get_rule_windowspec(), row_is_in_frame(), and WinGetFuncArgInFrame().
#define FRAMEOPTION_EXCLUDE_GROUP 0x10000 /* omit C.R. & peers */ |
Definition at line 521 of file parsenodes.h.
Referenced by begin_partition(), ExecWindowAgg(), get_rule_windowspec(), row_is_in_frame(), and WinGetFuncArgInFrame().
#define FRAMEOPTION_EXCLUDE_TIES 0x20000 /* omit C.R.'s peers */ |
Definition at line 522 of file parsenodes.h.
Referenced by begin_partition(), ExecWindowAgg(), get_rule_windowspec(), row_is_in_frame(), and WinGetFuncArgInFrame().
#define FRAMEOPTION_EXCLUSION |
Definition at line 528 of file parsenodes.h.
Referenced by begin_partition(), eval_windowaggregates(), and WinGetFuncArgInFrame().
#define FRAMEOPTION_GROUPS 0x00008 /* GROUPS behavior */ |
Definition at line 508 of file parsenodes.h.
Referenced by begin_partition(), ExecInitWindowAgg(), ExecWindowAgg(), get_rule_windowspec(), row_is_in_frame(), transformFrameOffset(), update_frameheadpos(), and update_frametailpos().
#define FRAMEOPTION_NONDEFAULT 0x00001 /* any specified? */ |
Definition at line 505 of file parsenodes.h.
Referenced by get_rule_windowspec().
#define FRAMEOPTION_RANGE 0x00002 /* RANGE behavior */ |
Definition at line 506 of file parsenodes.h.
Referenced by begin_partition(), ExecInitWindowAgg(), get_rule_windowspec(), row_is_in_frame(), transformFrameOffset(), transformWindowDefinitions(), update_frameheadpos(), and update_frametailpos().
#define FRAMEOPTION_ROWS 0x00004 /* ROWS behavior */ |
Definition at line 507 of file parsenodes.h.
Referenced by ExecWindowAgg(), get_rule_windowspec(), row_is_in_frame(), transformFrameOffset(), update_frameheadpos(), and update_frametailpos().
#define FRAMEOPTION_START_CURRENT_ROW 0x00200 /* start is C. R. */ |
Definition at line 514 of file parsenodes.h.
Referenced by get_rule_windowspec(), and update_frameheadpos().
#define FRAMEOPTION_START_OFFSET (FRAMEOPTION_START_OFFSET_PRECEDING | FRAMEOPTION_START_OFFSET_FOLLOWING) |
Definition at line 524 of file parsenodes.h.
Referenced by ExecWindowAgg(), get_rule_windowspec(), transformWindowDefinitions(), and update_frameheadpos().
#define FRAMEOPTION_START_OFFSET_FOLLOWING 0x02000 /* start is O. F. */ |
Definition at line 518 of file parsenodes.h.
Referenced by get_rule_windowspec().
#define FRAMEOPTION_START_OFFSET_PRECEDING 0x00800 /* start is O. P. */ |
Definition at line 516 of file parsenodes.h.
Referenced by get_rule_windowspec(), and update_frameheadpos().
#define FRAMEOPTION_START_UNBOUNDED_FOLLOWING 0x00080 /* (disallowed) */ |
Definition at line 512 of file parsenodes.h.
#define FRAMEOPTION_START_UNBOUNDED_PRECEDING 0x00020 /* start is U. P. */ |
Definition at line 510 of file parsenodes.h.
Referenced by begin_partition(), ExecInitWindowAgg(), get_rule_windowspec(), initialize_peragg(), and update_frameheadpos().
#define GetCTETargetList | ( | cte | ) |
Definition at line 1409 of file parsenodes.h.
Referenced by analyzeCTE(), expandRecordVariable(), get_name_for_var_field(), and markTargetListOrigin().
#define N_ACL_RIGHTS 12 /* 1 plus the last 1<<x */ |
Definition at line 87 of file parsenodes.h.
Referenced by aclexplode(), and aclitemout().
#define OPCLASS_ITEM_FUNCTION 2 |
Definition at line 2544 of file parsenodes.h.
Referenced by AlterOpFamilyAdd(), AlterOpFamilyDrop(), and DefineOpClass().
#define OPCLASS_ITEM_OPERATOR 1 |
Definition at line 2543 of file parsenodes.h.
Referenced by AlterOpFamilyAdd(), AlterOpFamilyDrop(), and DefineOpClass().
#define OPCLASS_ITEM_STORAGETYPE 3 |
Definition at line 2545 of file parsenodes.h.
Referenced by AlterOpFamilyAdd(), AlterOpFamilyDrop(), and DefineOpClass().
#define PARTITION_STRATEGY_HASH 'h' |
Definition at line 798 of file parsenodes.h.
Referenced by check_new_partition_bound(), ComputePartitionAttrs(), gen_partprune_steps_internal(), gen_prune_steps_from_opexps(), get_hash_partition_greatest_modulus(), get_matching_hash_bounds(), get_partition_bound_num_indexes(), get_partition_for_tuple(), get_qual_from_partbound(), get_rule_expr(), have_partkey_equi_join(), match_clause_to_partition_key(), partition_bounds_copy(), partition_bounds_equal(), perform_pruning_base_step(), pg_get_partkeydef_worker(), RelationBuildPartitionDesc(), RelationBuildPartitionKey(), satisfies_hash_partition(), transformPartitionBound(), and transformPartitionSpec().
#define PARTITION_STRATEGY_LIST 'l' |
Definition at line 799 of file parsenodes.h.
Referenced by check_default_allows_bound(), check_new_partition_bound(), gen_prune_steps_from_opexps(), get_matching_list_bounds(), get_matching_partitions(), get_partition_bound_num_indexes(), get_partition_for_tuple(), get_qual_from_partbound(), get_rule_expr(), make_partition_op_expr(), match_clause_to_partition_key(), partition_bounds_copy(), perform_pruning_base_step(), pg_get_partkeydef_worker(), RelationBuildPartitionDesc(), transformPartitionBound(), and transformPartitionSpec().
#define PARTITION_STRATEGY_RANGE 'r' |
Definition at line 800 of file parsenodes.h.
Referenced by check_new_partition_bound(), gen_prune_steps_from_opexps(), get_matching_partitions(), get_matching_range_bounds(), get_partition_bound_num_indexes(), get_partition_for_tuple(), get_qual_from_partbound(), get_rule_expr(), make_partition_op_expr(), match_clause_to_partition_key(), partition_bounds_equal(), perform_pruning_base_step(), pg_get_partkeydef_worker(), RelationBuildPartitionDesc(), transformPartitionBound(), and transformPartitionSpec().
Definition at line 3272 of file parsenodes.h.
Referenced by reindex_index(), and ReindexMultipleTables().
typedef struct A_ArrayExpr A_ArrayExpr |
typedef struct A_Indirection A_Indirection |
typedef struct AccessPriv AccessPriv |
Definition at line 72 of file parsenodes.h.
typedef struct AlterEnumStmt AlterEnumStmt |
typedef struct AlterFdwStmt AlterFdwStmt |
typedef struct AlterOwnerStmt AlterOwnerStmt |
typedef struct AlterRoleStmt AlterRoleStmt |
typedef struct AlterSeqStmt AlterSeqStmt |
typedef struct AlterTableCmd AlterTableCmd |
typedef struct AlterTableStmt AlterTableStmt |
typedef struct CallContext CallContext |
typedef struct CheckPointStmt CheckPointStmt |
typedef struct ClusterStmt ClusterStmt |
typedef struct CollateClause CollateClause |
typedef struct CommentStmt CommentStmt |
typedef struct Constraint Constraint |
typedef enum ConstrType ConstrType |
typedef struct CreateAmStmt CreateAmStmt |
typedef struct CreateCastStmt CreateCastStmt |
typedef struct CreatedbStmt CreatedbStmt |
typedef struct CreateEnumStmt CreateEnumStmt |
typedef struct CreateFdwStmt CreateFdwStmt |
typedef struct CreateRoleStmt CreateRoleStmt |
typedef struct CreateSeqStmt CreateSeqStmt |
typedef struct CreateStmt CreateStmt |
typedef struct CreateTrigStmt CreateTrigStmt |
typedef struct DeallocateStmt DeallocateStmt |
typedef struct DefineStmt DefineStmt |
typedef struct DeleteStmt DeleteStmt |
typedef struct DiscardStmt DiscardStmt |
typedef struct DropdbStmt DropdbStmt |
typedef struct DropOwnedStmt DropOwnedStmt |
typedef struct DropRoleStmt DropRoleStmt |
typedef struct ExecuteStmt ExecuteStmt |
typedef struct ExplainStmt ExplainStmt |
typedef struct GrantRoleStmt GrantRoleStmt |
typedef struct GroupingSet GroupingSet |
typedef struct InferClause InferClause |
typedef struct InsertStmt InsertStmt |
typedef struct ListenStmt ListenStmt |
typedef struct LockingClause LockingClause |
typedef struct MultiAssignRef MultiAssignRef |
typedef struct NotifyStmt NotifyStmt |
typedef enum ObjectType ObjectType |
typedef struct ObjectWithArgs ObjectWithArgs |
typedef struct PartitionCmd PartitionCmd |
typedef struct PartitionElem PartitionElem |
typedef struct PartitionSpec PartitionSpec |
typedef struct PrepareStmt PrepareStmt |
typedef struct RangeFunction RangeFunction |
typedef struct RangeSubselect RangeSubselect |
typedef struct RangeTableFunc RangeTableFunc |
typedef struct RangeTblEntry RangeTblEntry |
typedef struct ReindexStmt ReindexStmt |
typedef struct RenameStmt RenameStmt |
typedef struct RowMarkClause RowMarkClause |
typedef struct SecLabelStmt SecLabelStmt |
typedef struct SelectStmt SelectStmt |
typedef struct TruncateStmt TruncateStmt |
typedef struct UnlistenStmt UnlistenStmt |
typedef struct UpdateStmt UpdateStmt |
typedef struct VacuumRelation VacuumRelation |
typedef struct VacuumStmt VacuumStmt |
typedef struct WindowClause WindowClause |
typedef struct WithClause WithClause |
typedef struct XmlSerialize XmlSerialize |
enum A_Expr_Kind |
Definition at line 253 of file parsenodes.h.
Enumerator | |
---|---|
ALTER_SUBSCRIPTION_OPTIONS | |
ALTER_SUBSCRIPTION_CONNECTION | |
ALTER_SUBSCRIPTION_PUBLICATION | |
ALTER_SUBSCRIPTION_REFRESH | |
ALTER_SUBSCRIPTION_ENABLED |
Definition at line 3464 of file parsenodes.h.
enum AlterTableType |
Definition at line 1724 of file parsenodes.h.
enum AlterTSConfigType |
Enumerator | |
---|---|
ALTER_TSCONFIG_ADD_MAPPING | |
ALTER_TSCONFIG_ALTER_MAPPING_FOR_TOKEN | |
ALTER_TSCONFIG_REPLACE_DICT | |
ALTER_TSCONFIG_REPLACE_DICT_FOR_TOKEN | |
ALTER_TSCONFIG_DROP_MAPPING |
Definition at line 3405 of file parsenodes.h.
enum ConstrType |
Definition at line 2059 of file parsenodes.h.
enum DefElemAction |
Enumerator | |
---|---|
DEFELEM_UNSPEC | |
DEFELEM_SET | |
DEFELEM_ADD | |
DEFELEM_DROP |
Definition at line 718 of file parsenodes.h.
enum DiscardMode |
Enumerator | |
---|---|
DISCARD_ALL | |
DISCARD_PLANS | |
DISCARD_SEQUENCES | |
DISCARD_TEMP |
Definition at line 3229 of file parsenodes.h.
enum DropBehavior |
Enumerator | |
---|---|
DROP_RESTRICT | |
DROP_CASCADE |
Definition at line 1705 of file parsenodes.h.
enum FetchDirection |
Enumerator | |
---|---|
FETCH_FORWARD | |
FETCH_BACKWARD | |
FETCH_ABSOLUTE | |
FETCH_RELATIVE |
Definition at line 2678 of file parsenodes.h.
Enumerator | |
---|---|
FUNC_PARAM_IN | |
FUNC_PARAM_OUT | |
FUNC_PARAM_INOUT | |
FUNC_PARAM_VARIADIC | |
FUNC_PARAM_TABLE |
Definition at line 2771 of file parsenodes.h.
enum GrantTargetType |
Enumerator | |
---|---|
ACL_TARGET_OBJECT | |
ACL_TARGET_ALL_IN_SCHEMA | |
ACL_TARGET_DEFAULTS |
Definition at line 1860 of file parsenodes.h.
enum GroupingSetKind |
Enumerator | |
---|---|
GROUPING_SET_EMPTY | |
GROUPING_SET_SIMPLE | |
GROUPING_SET_ROLLUP | |
GROUPING_SET_CUBE | |
GROUPING_SET_SETS |
Definition at line 1264 of file parsenodes.h.
Enumerator | |
---|---|
FDW_IMPORT_SCHEMA_ALL | |
FDW_IMPORT_SCHEMA_LIMIT_TO | |
FDW_IMPORT_SCHEMA_EXCEPT |
Definition at line 2301 of file parsenodes.h.
enum ObjectType |
Definition at line 1634 of file parsenodes.h.
enum OverridingKind |
Enumerator | |
---|---|
OVERRIDING_NOT_SET | |
OVERRIDING_USER_VALUE | |
OVERRIDING_SYSTEM_VALUE |
Definition at line 32 of file parsenodes.h.
Enumerator | |
---|---|
PARTITION_RANGE_DATUM_MINVALUE | |
PARTITION_RANGE_DATUM_VALUE | |
PARTITION_RANGE_DATUM_MAXVALUE |
Definition at line 834 of file parsenodes.h.
enum QuerySource |
Enumerator | |
---|---|
QSRC_ORIGINAL | |
QSRC_PARSER | |
QSRC_INSTEAD_RULE | |
QSRC_QUAL_INSTEAD_RULE | |
QSRC_NON_INSTEAD_RULE |
Definition at line 40 of file parsenodes.h.
enum ReindexObjectType |
Enumerator | |
---|---|
REINDEX_OBJECT_INDEX | |
REINDEX_OBJECT_TABLE | |
REINDEX_OBJECT_SCHEMA | |
REINDEX_OBJECT_SYSTEM | |
REINDEX_OBJECT_DATABASE |
Definition at line 3274 of file parsenodes.h.
enum RoleSpecType |
Enumerator | |
---|---|
ROLESPEC_CSTRING | |
ROLESPEC_CURRENT_USER | |
ROLESPEC_SESSION_USER | |
ROLESPEC_PUBLIC |
Definition at line 318 of file parsenodes.h.
enum RoleStmtType |
Enumerator | |
---|---|
ROLESTMT_ROLE | |
ROLESTMT_USER | |
ROLESTMT_GROUP |
Definition at line 2438 of file parsenodes.h.
enum RTEKind |
Enumerator | |
---|---|
RTE_RELATION | |
RTE_SUBQUERY | |
RTE_JOIN | |
RTE_FUNCTION | |
RTE_TABLEFUNC | |
RTE_VALUES | |
RTE_CTE | |
RTE_NAMEDTUPLESTORE |
Definition at line 946 of file parsenodes.h.
enum SetOperation |
Enumerator | |
---|---|
SETOP_NONE | |
SETOP_UNION | |
SETOP_INTERSECT | |
SETOP_EXCEPT |
Definition at line 1521 of file parsenodes.h.
enum SortByDir |
Enumerator | |
---|---|
SORTBY_DEFAULT | |
SORTBY_ASC | |
SORTBY_DESC | |
SORTBY_USING |
Definition at line 50 of file parsenodes.h.
enum SortByNulls |
Enumerator | |
---|---|
SORTBY_NULLS_DEFAULT | |
SORTBY_NULLS_FIRST | |
SORTBY_NULLS_LAST |
Definition at line 58 of file parsenodes.h.
enum TableLikeOption |
Definition at line 677 of file parsenodes.h.
enum TransactionStmtKind |
Definition at line 2958 of file parsenodes.h.
enum VacuumOption |
Enumerator | |
---|---|
VACOPT_VACUUM | |
VACOPT_ANALYZE | |
VACOPT_VERBOSE | |
VACOPT_FREEZE | |
VACOPT_FULL | |
VACOPT_NOWAIT | |
VACOPT_SKIPTOAST | |
VACOPT_DISABLE_PAGE_SKIPPING |
Definition at line 3131 of file parsenodes.h.
enum VariableSetKind |
Enumerator | |
---|---|
VAR_SET_VALUE | |
VAR_SET_DEFAULT | |
VAR_SET_CURRENT | |
VAR_SET_MULTI | |
VAR_RESET | |
VAR_RESET_ALL |
Definition at line 1971 of file parsenodes.h.
enum ViewCheckOption |
Enumerator | |
---|---|
NO_CHECK_OPTION | |
LOCAL_CHECK_OPTION | |
CASCADED_CHECK_OPTION |
Definition at line 3033 of file parsenodes.h.
enum WCOKind |
Enumerator | |
---|---|
WCO_VIEW_CHECK | |
WCO_RLS_INSERT_CHECK | |
WCO_RLS_UPDATE_CHECK | |
WCO_RLS_CONFLICT_CHECK |
Definition at line 1128 of file parsenodes.h.