PostgreSQL Source Code  git master
parsenodes.h File Reference
#include "nodes/bitmapset.h"
#include "nodes/lockoptions.h"
#include "nodes/primnodes.h"
#include "nodes/value.h"
#include "partitioning/partdefs.h"
Include dependency graph for parsenodes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Query
 
struct  TypeName
 
struct  ColumnRef
 
struct  ParamRef
 
struct  A_Expr
 
struct  A_Const
 
union  A_Const::ValUnion
 
struct  TypeCast
 
struct  CollateClause
 
struct  RoleSpec
 
struct  FuncCall
 
struct  A_Star
 
struct  A_Indices
 
struct  A_Indirection
 
struct  A_ArrayExpr
 
struct  ResTarget
 
struct  MultiAssignRef
 
struct  SortBy
 
struct  WindowDef
 
struct  RangeSubselect
 
struct  RangeFunction
 
struct  RangeTableFunc
 
struct  RangeTableFuncCol
 
struct  RangeTableSample
 
struct  ColumnDef
 
struct  TableLikeClause
 
struct  IndexElem
 
struct  DefElem
 
struct  LockingClause
 
struct  XmlSerialize
 
struct  PartitionElem
 
struct  PartitionSpec
 
struct  PartitionBoundSpec
 
struct  PartitionRangeDatum
 
struct  PartitionCmd
 
struct  RangeTblEntry
 
struct  RangeTblFunction
 
struct  TableSampleClause
 
struct  WithCheckOption
 
struct  SortGroupClause
 
struct  GroupingSet
 
struct  WindowClause
 
struct  RowMarkClause
 
struct  WithClause
 
struct  InferClause
 
struct  OnConflictClause
 
struct  CTESearchClause
 
struct  CTECycleClause
 
struct  CommonTableExpr
 
struct  MergeWhenClause
 
struct  MergeAction
 
struct  TriggerTransition
 
struct  JsonOutput
 
struct  JsonArgument
 
struct  JsonCommon
 
struct  JsonFuncExpr
 
struct  JsonTableColumn
 
struct  JsonTablePlan
 
struct  JsonTable
 
struct  JsonKeyValue
 
struct  JsonParseExpr
 
struct  JsonScalarExpr
 
struct  JsonSerializeExpr
 
struct  JsonObjectConstructor
 
struct  JsonArrayConstructor
 
struct  JsonArrayQueryConstructor
 
struct  JsonAggConstructor
 
struct  JsonObjectAgg
 
struct  JsonArrayAgg
 
struct  RawStmt
 
struct  InsertStmt
 
struct  DeleteStmt
 
struct  UpdateStmt
 
struct  MergeStmt
 
struct  SelectStmt
 
struct  SetOperationStmt
 
struct  ReturnStmt
 
struct  PLAssignStmt
 
struct  CreateSchemaStmt
 
struct  AlterTableStmt
 
struct  ReplicaIdentityStmt
 
struct  AlterTableCmd
 
struct  AlterCollationStmt
 
struct  AlterDomainStmt
 
struct  GrantStmt
 
struct  ObjectWithArgs
 
struct  AccessPriv
 
struct  GrantRoleStmt
 
struct  AlterDefaultPrivilegesStmt
 
struct  CopyStmt
 
struct  VariableSetStmt
 
struct  VariableShowStmt
 
struct  CreateStmt
 
struct  Constraint
 
struct  CreateTableSpaceStmt
 
struct  DropTableSpaceStmt
 
struct  AlterTableSpaceOptionsStmt
 
struct  AlterTableMoveAllStmt
 
struct  CreateExtensionStmt
 
struct  AlterExtensionStmt
 
struct  AlterExtensionContentsStmt
 
struct  CreateFdwStmt
 
struct  AlterFdwStmt
 
struct  CreateForeignServerStmt
 
struct  AlterForeignServerStmt
 
struct  CreateForeignTableStmt
 
struct  CreateUserMappingStmt
 
struct  AlterUserMappingStmt
 
struct  DropUserMappingStmt
 
struct  ImportForeignSchemaStmt
 
struct  CreatePolicyStmt
 
struct  AlterPolicyStmt
 
struct  CreateAmStmt
 
struct  CreateTrigStmt
 
struct  CreateEventTrigStmt
 
struct  AlterEventTrigStmt
 
struct  CreatePLangStmt
 
struct  CreateRoleStmt
 
struct  AlterRoleStmt
 
struct  AlterRoleSetStmt
 
struct  DropRoleStmt
 
struct  CreateSeqStmt
 
struct  AlterSeqStmt
 
struct  DefineStmt
 
struct  CreateDomainStmt
 
struct  CreateOpClassStmt
 
struct  CreateOpClassItem
 
struct  CreateOpFamilyStmt
 
struct  AlterOpFamilyStmt
 
struct  DropStmt
 
struct  TruncateStmt
 
struct  CommentStmt
 
struct  SecLabelStmt
 
struct  DeclareCursorStmt
 
struct  ClosePortalStmt
 
struct  FetchStmt
 
struct  IndexStmt
 
struct  CreateStatsStmt
 
struct  StatsElem
 
struct  AlterStatsStmt
 
struct  CreateFunctionStmt
 
struct  FunctionParameter
 
struct  AlterFunctionStmt
 
struct  DoStmt
 
struct  InlineCodeBlock
 
struct  CallStmt
 
struct  CallContext
 
struct  RenameStmt
 
struct  AlterObjectDependsStmt
 
struct  AlterObjectSchemaStmt
 
struct  AlterOwnerStmt
 
struct  AlterOperatorStmt
 
struct  AlterTypeStmt
 
struct  RuleStmt
 
struct  NotifyStmt
 
struct  ListenStmt
 
struct  UnlistenStmt
 
struct  TransactionStmt
 
struct  CompositeTypeStmt
 
struct  CreateEnumStmt
 
struct  CreateRangeStmt
 
struct  AlterEnumStmt
 
struct  ViewStmt
 
struct  LoadStmt
 
struct  CreatedbStmt
 
struct  AlterDatabaseStmt
 
struct  AlterDatabaseRefreshCollStmt
 
struct  AlterDatabaseSetStmt
 
struct  DropdbStmt
 
struct  AlterSystemStmt
 
struct  ClusterStmt
 
struct  VacuumStmt
 
struct  VacuumRelation
 
struct  ExplainStmt
 
struct  CreateTableAsStmt
 
struct  RefreshMatViewStmt
 
struct  CheckPointStmt
 
struct  DiscardStmt
 
struct  LockStmt
 
struct  ConstraintsSetStmt
 
struct  ReindexStmt
 
struct  CreateConversionStmt
 
struct  CreateCastStmt
 
struct  CreateTransformStmt
 
struct  PrepareStmt
 
struct  ExecuteStmt
 
struct  DeallocateStmt
 
struct  DropOwnedStmt
 
struct  ReassignOwnedStmt
 
struct  AlterTSDictionaryStmt
 
struct  AlterTSConfigurationStmt
 
struct  PublicationTable
 
struct  PublicationObjSpec
 
struct  CreatePublicationStmt
 
struct  AlterPublicationStmt
 
struct  CreateSubscriptionStmt
 
struct  AlterSubscriptionStmt
 
struct  DropSubscriptionStmt
 

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 ACL_SET   (1<<12) /* for configuration parameters */
 
#define ACL_ALTER_SYSTEM   (1<<13) /* for configuration parameters */
 
#define N_ACL_RIGHTS   14 /* 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_ASENSITIVE   0x0010 /* ASENSITIVE */
 
#define CURSOR_OPT_HOLD   0x0020 /* WITH HOLD */
 
#define CURSOR_OPT_FAST_PLAN   0x0100 /* prefer fast-start plan */
 
#define CURSOR_OPT_GENERIC_PLAN   0x0200 /* force use of generic plan */
 
#define CURSOR_OPT_CUSTOM_PLAN   0x0400 /* force use of custom plan */
 
#define CURSOR_OPT_PARALLEL_OK   0x0800 /* parallel mode OK */
 
#define FETCH_ALL   LONG_MAX
 

Typedefs

typedef enum OverridingKind OverridingKind
 
typedef enum QuerySource QuerySource
 
typedef enum SortByDir SortByDir
 
typedef enum SortByNulls SortByNulls
 
typedef enum SetQuantifier SetQuantifier
 
typedef uint32 AclMode
 
typedef struct Query Query
 
typedef struct TypeName TypeName
 
typedef struct ColumnRef ColumnRef
 
typedef struct ParamRef ParamRef
 
typedef enum A_Expr_Kind A_Expr_Kind
 
typedef struct A_Expr A_Expr
 
typedef struct A_Const A_Const
 
typedef struct TypeCast TypeCast
 
typedef struct CollateClause CollateClause
 
typedef enum RoleSpecType RoleSpecType
 
typedef struct RoleSpec RoleSpec
 
typedef struct FuncCall FuncCall
 
typedef struct A_Star A_Star
 
typedef struct A_Indices A_Indices
 
typedef struct A_Indirection A_Indirection
 
typedef struct A_ArrayExpr A_ArrayExpr
 
typedef struct ResTarget ResTarget
 
typedef struct MultiAssignRef MultiAssignRef
 
typedef struct SortBy SortBy
 
typedef struct WindowDef WindowDef
 
typedef struct RangeSubselect RangeSubselect
 
typedef struct RangeFunction RangeFunction
 
typedef struct RangeTableFunc RangeTableFunc
 
typedef struct RangeTableFuncCol RangeTableFuncCol
 
typedef struct RangeTableSample RangeTableSample
 
typedef struct ColumnDef ColumnDef
 
typedef struct TableLikeClause TableLikeClause
 
typedef enum TableLikeOption TableLikeOption
 
typedef struct IndexElem IndexElem
 
typedef enum DefElemAction DefElemAction
 
typedef struct DefElem DefElem
 
typedef struct LockingClause LockingClause
 
typedef struct XmlSerialize XmlSerialize
 
typedef struct PartitionElem PartitionElem
 
typedef struct PartitionSpec PartitionSpec
 
typedef enum PartitionRangeDatumKind PartitionRangeDatumKind
 
typedef struct PartitionRangeDatum PartitionRangeDatum
 
typedef struct PartitionCmd PartitionCmd
 
typedef enum RTEKind RTEKind
 
typedef struct RangeTblEntry RangeTblEntry
 
typedef struct RangeTblFunction RangeTblFunction
 
typedef struct TableSampleClause TableSampleClause
 
typedef enum WCOKind WCOKind
 
typedef struct WithCheckOption WithCheckOption
 
typedef struct SortGroupClause SortGroupClause
 
typedef enum GroupingSetKind GroupingSetKind
 
typedef struct GroupingSet GroupingSet
 
typedef struct WindowClause WindowClause
 
typedef struct RowMarkClause RowMarkClause
 
typedef struct WithClause WithClause
 
typedef struct InferClause InferClause
 
typedef struct OnConflictClause OnConflictClause
 
typedef enum CTEMaterialize CTEMaterialize
 
typedef struct CTESearchClause CTESearchClause
 
typedef struct CTECycleClause CTECycleClause
 
typedef struct CommonTableExpr CommonTableExpr
 
typedef struct MergeWhenClause MergeWhenClause
 
typedef struct MergeAction MergeAction
 
typedef struct TriggerTransition TriggerTransition
 
typedef enum JsonQuotes JsonQuotes
 
typedef enum JsonTableColumnType JsonTableColumnType
 
typedef struct JsonOutput JsonOutput
 
typedef struct JsonArgument JsonArgument
 
typedef struct JsonCommon JsonCommon
 
typedef struct JsonFuncExpr JsonFuncExpr
 
typedef struct JsonTableColumn JsonTableColumn
 
typedef enum JsonTablePlanType JsonTablePlanType
 
typedef enum JsonTablePlanJoinType JsonTablePlanJoinType
 
typedef struct JsonTablePlan JsonTablePlan
 
typedef struct JsonTable JsonTable
 
typedef struct JsonKeyValue JsonKeyValue
 
typedef struct JsonParseExpr JsonParseExpr
 
typedef struct JsonScalarExpr JsonScalarExpr
 
typedef struct JsonSerializeExpr JsonSerializeExpr
 
typedef struct JsonObjectConstructor JsonObjectConstructor
 
typedef struct JsonArrayConstructor JsonArrayConstructor
 
typedef struct JsonArrayQueryConstructor JsonArrayQueryConstructor
 
typedef struct JsonAggConstructor JsonAggConstructor
 
typedef struct JsonObjectAgg JsonObjectAgg
 
typedef struct JsonArrayAgg JsonArrayAgg
 
typedef struct RawStmt RawStmt
 
typedef struct InsertStmt InsertStmt
 
typedef struct DeleteStmt DeleteStmt
 
typedef struct UpdateStmt UpdateStmt
 
typedef struct MergeStmt MergeStmt
 
typedef enum SetOperation SetOperation
 
typedef struct SelectStmt SelectStmt
 
typedef struct SetOperationStmt SetOperationStmt
 
typedef struct ReturnStmt ReturnStmt
 
typedef struct PLAssignStmt PLAssignStmt
 
typedef enum ObjectType ObjectType
 
typedef struct CreateSchemaStmt CreateSchemaStmt
 
typedef enum DropBehavior DropBehavior
 
typedef struct AlterTableStmt AlterTableStmt
 
typedef enum AlterTableType AlterTableType
 
typedef struct ReplicaIdentityStmt ReplicaIdentityStmt
 
typedef struct AlterTableCmd AlterTableCmd
 
typedef struct AlterCollationStmt AlterCollationStmt
 
typedef struct AlterDomainStmt AlterDomainStmt
 
typedef enum GrantTargetType GrantTargetType
 
typedef struct GrantStmt GrantStmt
 
typedef struct ObjectWithArgs ObjectWithArgs
 
typedef struct AccessPriv AccessPriv
 
typedef struct GrantRoleStmt GrantRoleStmt
 
typedef struct AlterDefaultPrivilegesStmt AlterDefaultPrivilegesStmt
 
typedef struct CopyStmt CopyStmt
 
typedef enum VariableSetKind VariableSetKind
 
typedef struct VariableSetStmt VariableSetStmt
 
typedef struct VariableShowStmt VariableShowStmt
 
typedef struct CreateStmt CreateStmt
 
typedef enum ConstrType ConstrType
 
typedef struct Constraint Constraint
 
typedef struct CreateTableSpaceStmt CreateTableSpaceStmt
 
typedef struct DropTableSpaceStmt DropTableSpaceStmt
 
typedef struct AlterTableSpaceOptionsStmt AlterTableSpaceOptionsStmt
 
typedef struct AlterTableMoveAllStmt AlterTableMoveAllStmt
 
typedef struct CreateExtensionStmt CreateExtensionStmt
 
typedef struct AlterExtensionStmt AlterExtensionStmt
 
typedef struct AlterExtensionContentsStmt AlterExtensionContentsStmt
 
typedef struct CreateFdwStmt CreateFdwStmt
 
typedef struct AlterFdwStmt AlterFdwStmt
 
typedef struct CreateForeignServerStmt CreateForeignServerStmt
 
typedef struct AlterForeignServerStmt AlterForeignServerStmt
 
typedef struct CreateForeignTableStmt CreateForeignTableStmt
 
typedef struct CreateUserMappingStmt CreateUserMappingStmt
 
typedef struct AlterUserMappingStmt AlterUserMappingStmt
 
typedef struct DropUserMappingStmt DropUserMappingStmt
 
typedef enum ImportForeignSchemaType ImportForeignSchemaType
 
typedef struct ImportForeignSchemaStmt ImportForeignSchemaStmt
 
typedef struct CreatePolicyStmt CreatePolicyStmt
 
typedef struct AlterPolicyStmt AlterPolicyStmt
 
typedef struct CreateAmStmt CreateAmStmt
 
typedef struct CreateTrigStmt CreateTrigStmt
 
typedef struct CreateEventTrigStmt CreateEventTrigStmt
 
typedef struct AlterEventTrigStmt AlterEventTrigStmt
 
typedef struct CreatePLangStmt CreatePLangStmt
 
typedef enum RoleStmtType RoleStmtType
 
typedef struct CreateRoleStmt CreateRoleStmt
 
typedef struct AlterRoleStmt AlterRoleStmt
 
typedef struct AlterRoleSetStmt AlterRoleSetStmt
 
typedef struct DropRoleStmt DropRoleStmt
 
typedef struct CreateSeqStmt CreateSeqStmt
 
typedef struct AlterSeqStmt AlterSeqStmt
 
typedef struct DefineStmt DefineStmt
 
typedef struct CreateDomainStmt CreateDomainStmt
 
typedef struct CreateOpClassStmt CreateOpClassStmt
 
typedef struct CreateOpClassItem CreateOpClassItem
 
typedef struct CreateOpFamilyStmt CreateOpFamilyStmt
 
typedef struct AlterOpFamilyStmt AlterOpFamilyStmt
 
typedef struct DropStmt DropStmt
 
typedef struct TruncateStmt TruncateStmt
 
typedef struct CommentStmt CommentStmt
 
typedef struct SecLabelStmt SecLabelStmt
 
typedef struct DeclareCursorStmt DeclareCursorStmt
 
typedef struct ClosePortalStmt ClosePortalStmt
 
typedef enum FetchDirection FetchDirection
 
typedef struct FetchStmt FetchStmt
 
typedef struct IndexStmt IndexStmt
 
typedef struct CreateStatsStmt CreateStatsStmt
 
typedef struct StatsElem StatsElem
 
typedef struct AlterStatsStmt AlterStatsStmt
 
typedef struct CreateFunctionStmt CreateFunctionStmt
 
typedef enum FunctionParameterMode FunctionParameterMode
 
typedef struct FunctionParameter FunctionParameter
 
typedef struct AlterFunctionStmt AlterFunctionStmt
 
typedef struct DoStmt DoStmt
 
typedef struct InlineCodeBlock InlineCodeBlock
 
typedef struct CallStmt CallStmt
 
typedef struct CallContext CallContext
 
typedef struct RenameStmt RenameStmt
 
typedef struct AlterObjectDependsStmt AlterObjectDependsStmt
 
typedef struct AlterObjectSchemaStmt AlterObjectSchemaStmt
 
typedef struct AlterOwnerStmt AlterOwnerStmt
 
typedef struct AlterOperatorStmt AlterOperatorStmt
 
typedef struct AlterTypeStmt AlterTypeStmt
 
typedef struct RuleStmt RuleStmt
 
typedef struct NotifyStmt NotifyStmt
 
typedef struct ListenStmt ListenStmt
 
typedef struct UnlistenStmt UnlistenStmt
 
typedef enum TransactionStmtKind TransactionStmtKind
 
typedef struct TransactionStmt TransactionStmt
 
typedef struct CompositeTypeStmt CompositeTypeStmt
 
typedef struct CreateEnumStmt CreateEnumStmt
 
typedef struct CreateRangeStmt CreateRangeStmt
 
typedef struct AlterEnumStmt AlterEnumStmt
 
typedef enum ViewCheckOption ViewCheckOption
 
typedef struct ViewStmt ViewStmt
 
typedef struct LoadStmt LoadStmt
 
typedef struct CreatedbStmt CreatedbStmt
 
typedef struct AlterDatabaseStmt AlterDatabaseStmt
 
typedef struct AlterDatabaseRefreshCollStmt AlterDatabaseRefreshCollStmt
 
typedef struct AlterDatabaseSetStmt AlterDatabaseSetStmt
 
typedef struct DropdbStmt DropdbStmt
 
typedef struct AlterSystemStmt AlterSystemStmt
 
typedef struct ClusterStmt ClusterStmt
 
typedef struct VacuumStmt VacuumStmt
 
typedef struct VacuumRelation VacuumRelation
 
typedef struct ExplainStmt ExplainStmt
 
typedef struct CreateTableAsStmt CreateTableAsStmt
 
typedef struct RefreshMatViewStmt RefreshMatViewStmt
 
typedef struct CheckPointStmt CheckPointStmt
 
typedef enum DiscardMode DiscardMode
 
typedef struct DiscardStmt DiscardStmt
 
typedef struct LockStmt LockStmt
 
typedef struct ConstraintsSetStmt ConstraintsSetStmt
 
typedef enum ReindexObjectType ReindexObjectType
 
typedef struct ReindexStmt ReindexStmt
 
typedef struct CreateConversionStmt CreateConversionStmt
 
typedef struct CreateCastStmt CreateCastStmt
 
typedef struct CreateTransformStmt CreateTransformStmt
 
typedef struct PrepareStmt PrepareStmt
 
typedef struct ExecuteStmt ExecuteStmt
 
typedef struct DeallocateStmt DeallocateStmt
 
typedef struct DropOwnedStmt DropOwnedStmt
 
typedef struct ReassignOwnedStmt ReassignOwnedStmt
 
typedef struct AlterTSDictionaryStmt AlterTSDictionaryStmt
 
typedef enum AlterTSConfigType AlterTSConfigType
 
typedef struct AlterTSConfigurationStmt AlterTSConfigurationStmt
 
typedef struct PublicationTable PublicationTable
 
typedef enum PublicationObjSpecType PublicationObjSpecType
 
typedef struct PublicationObjSpec PublicationObjSpec
 
typedef struct CreatePublicationStmt CreatePublicationStmt
 
typedef enum AlterPublicationAction AlterPublicationAction
 
typedef struct AlterPublicationStmt AlterPublicationStmt
 
typedef struct CreateSubscriptionStmt CreateSubscriptionStmt
 
typedef enum AlterSubscriptionType AlterSubscriptionType
 
typedef struct AlterSubscriptionStmt AlterSubscriptionStmt
 
typedef struct DropSubscriptionStmt DropSubscriptionStmt
 

Enumerations

enum  OverridingKind { OVERRIDING_NOT_SET = 0 , OVERRIDING_USER_VALUE , OVERRIDING_SYSTEM_VALUE }
 
enum  QuerySource {
  QSRC_ORIGINAL , QSRC_PARSER , QSRC_INSTEAD_RULE , QSRC_QUAL_INSTEAD_RULE ,
  QSRC_NON_INSTEAD_RULE
}
 
enum  SortByDir { SORTBY_DEFAULT , SORTBY_ASC , SORTBY_DESC , SORTBY_USING }
 
enum  SortByNulls { SORTBY_NULLS_DEFAULT , SORTBY_NULLS_FIRST , SORTBY_NULLS_LAST }
 
enum  SetQuantifier { SET_QUANTIFIER_DEFAULT , SET_QUANTIFIER_ALL , SET_QUANTIFIER_DISTINCT }
 
enum  A_Expr_Kind {
  AEXPR_OP , AEXPR_OP_ANY , AEXPR_OP_ALL , AEXPR_DISTINCT ,
  AEXPR_NOT_DISTINCT , AEXPR_NULLIF , AEXPR_IN , AEXPR_LIKE ,
  AEXPR_ILIKE , AEXPR_SIMILAR , AEXPR_BETWEEN , AEXPR_NOT_BETWEEN ,
  AEXPR_BETWEEN_SYM , AEXPR_NOT_BETWEEN_SYM
}
 
enum  RoleSpecType {
  ROLESPEC_CSTRING , ROLESPEC_CURRENT_ROLE , ROLESPEC_CURRENT_USER , ROLESPEC_SESSION_USER ,
  ROLESPEC_PUBLIC
}
 
enum  TableLikeOption {
  CREATE_TABLE_LIKE_COMMENTS = 1 << 0 , CREATE_TABLE_LIKE_COMPRESSION = 1 << 1 , CREATE_TABLE_LIKE_CONSTRAINTS = 1 << 2 , CREATE_TABLE_LIKE_DEFAULTS = 1 << 3 ,
  CREATE_TABLE_LIKE_GENERATED = 1 << 4 , CREATE_TABLE_LIKE_IDENTITY = 1 << 5 , CREATE_TABLE_LIKE_INDEXES = 1 << 6 , CREATE_TABLE_LIKE_STATISTICS = 1 << 7 ,
  CREATE_TABLE_LIKE_STORAGE = 1 << 8 , CREATE_TABLE_LIKE_ALL = PG_INT32_MAX
}
 
enum  DefElemAction { DEFELEM_UNSPEC , DEFELEM_SET , DEFELEM_ADD , DEFELEM_DROP }
 
enum  PartitionRangeDatumKind { PARTITION_RANGE_DATUM_MINVALUE = -1 , PARTITION_RANGE_DATUM_VALUE = 0 , PARTITION_RANGE_DATUM_MAXVALUE = 1 }
 
enum  RTEKind {
  RTE_RELATION , RTE_SUBQUERY , RTE_JOIN , RTE_FUNCTION ,
  RTE_TABLEFUNC , RTE_VALUES , RTE_CTE , RTE_NAMEDTUPLESTORE ,
  RTE_RESULT
}
 
enum  WCOKind {
  WCO_VIEW_CHECK , WCO_RLS_INSERT_CHECK , WCO_RLS_UPDATE_CHECK , WCO_RLS_CONFLICT_CHECK ,
  WCO_RLS_MERGE_UPDATE_CHECK , WCO_RLS_MERGE_DELETE_CHECK
}
 
enum  GroupingSetKind {
  GROUPING_SET_EMPTY , GROUPING_SET_SIMPLE , GROUPING_SET_ROLLUP , GROUPING_SET_CUBE ,
  GROUPING_SET_SETS
}
 
enum  CTEMaterialize { CTEMaterializeDefault , CTEMaterializeAlways , CTEMaterializeNever }
 
enum  JsonQuotes { JS_QUOTES_UNSPEC , JS_QUOTES_KEEP , JS_QUOTES_OMIT }
 
enum  JsonTableColumnType {
  JTC_FOR_ORDINALITY , JTC_REGULAR , JTC_EXISTS , JTC_FORMATTED ,
  JTC_NESTED
}
 
enum  JsonTablePlanType { JSTP_DEFAULT , JSTP_SIMPLE , JSTP_JOINED }
 
enum  JsonTablePlanJoinType { JSTPJ_INNER = 0x01 , JSTPJ_OUTER = 0x02 , JSTPJ_CROSS = 0x04 , JSTPJ_UNION = 0x08 }
 
enum  SetOperation { SETOP_NONE = 0 , SETOP_UNION , SETOP_INTERSECT , SETOP_EXCEPT }
 
enum  ObjectType {
  OBJECT_ACCESS_METHOD , OBJECT_AGGREGATE , OBJECT_AMOP , OBJECT_AMPROC ,
  OBJECT_ATTRIBUTE , OBJECT_CAST , OBJECT_COLUMN , OBJECT_COLLATION ,
  OBJECT_CONVERSION , OBJECT_DATABASE , OBJECT_DEFAULT , OBJECT_DEFACL ,
  OBJECT_DOMAIN , OBJECT_DOMCONSTRAINT , OBJECT_EVENT_TRIGGER , OBJECT_EXTENSION ,
  OBJECT_FDW , OBJECT_FOREIGN_SERVER , OBJECT_FOREIGN_TABLE , OBJECT_FUNCTION ,
  OBJECT_INDEX , OBJECT_LANGUAGE , OBJECT_LARGEOBJECT , OBJECT_MATVIEW ,
  OBJECT_OPCLASS , OBJECT_OPERATOR , OBJECT_OPFAMILY , OBJECT_PARAMETER_ACL ,
  OBJECT_POLICY , OBJECT_PROCEDURE , OBJECT_PUBLICATION , OBJECT_PUBLICATION_NAMESPACE ,
  OBJECT_PUBLICATION_REL , OBJECT_ROLE , OBJECT_ROUTINE , OBJECT_RULE ,
  OBJECT_SCHEMA , OBJECT_SEQUENCE , OBJECT_SUBSCRIPTION , OBJECT_STATISTIC_EXT ,
  OBJECT_TABCONSTRAINT , OBJECT_TABLE , OBJECT_TABLESPACE , OBJECT_TRANSFORM ,
  OBJECT_TRIGGER , OBJECT_TSCONFIGURATION , OBJECT_TSDICTIONARY , OBJECT_TSPARSER ,
  OBJECT_TSTEMPLATE , OBJECT_TYPE , OBJECT_USER_MAPPING , OBJECT_VIEW
}
 
enum  DropBehavior { DROP_RESTRICT , DROP_CASCADE }
 
enum  AlterTableType {
  AT_AddColumn , AT_AddColumnRecurse , AT_AddColumnToView , AT_ColumnDefault ,
  AT_CookedColumnDefault , AT_DropNotNull , AT_SetNotNull , AT_DropExpression ,
  AT_CheckNotNull , AT_SetStatistics , AT_SetOptions , AT_ResetOptions ,
  AT_SetStorage , AT_SetCompression , AT_DropColumn , AT_DropColumnRecurse ,
  AT_AddIndex , AT_ReAddIndex , AT_AddConstraint , AT_AddConstraintRecurse ,
  AT_ReAddConstraint , AT_ReAddDomainConstraint , AT_AlterConstraint , AT_ValidateConstraint ,
  AT_ValidateConstraintRecurse , AT_AddIndexConstraint , AT_DropConstraint , AT_DropConstraintRecurse ,
  AT_ReAddComment , AT_AlterColumnType , AT_AlterColumnGenericOptions , AT_ChangeOwner ,
  AT_ClusterOn , AT_DropCluster , AT_SetLogged , AT_SetUnLogged ,
  AT_DropOids , AT_SetAccessMethod , AT_SetTableSpace , AT_SetRelOptions ,
  AT_ResetRelOptions , AT_ReplaceRelOptions , AT_EnableTrig , AT_EnableAlwaysTrig ,
  AT_EnableReplicaTrig , AT_DisableTrig , AT_EnableTrigAll , AT_DisableTrigAll ,
  AT_EnableTrigUser , AT_DisableTrigUser , AT_EnableRule , AT_EnableAlwaysRule ,
  AT_EnableReplicaRule , AT_DisableRule , AT_AddInherit , AT_DropInherit ,
  AT_AddOf , AT_DropOf , AT_ReplicaIdentity , AT_EnableRowSecurity ,
  AT_DisableRowSecurity , AT_ForceRowSecurity , AT_NoForceRowSecurity , AT_GenericOptions ,
  AT_AttachPartition , AT_DetachPartition , AT_DetachPartitionFinalize , AT_AddIdentity ,
  AT_SetIdentity , AT_DropIdentity , AT_ReAddStatistics
}
 
enum  GrantTargetType { ACL_TARGET_OBJECT , ACL_TARGET_ALL_IN_SCHEMA , ACL_TARGET_DEFAULTS }
 
enum  VariableSetKind {
  VAR_SET_VALUE , VAR_SET_DEFAULT , VAR_SET_CURRENT , VAR_SET_MULTI ,
  VAR_RESET , VAR_RESET_ALL
}
 
enum  ConstrType {
  CONSTR_NULL , CONSTR_NOTNULL , CONSTR_DEFAULT , CONSTR_IDENTITY ,
  CONSTR_GENERATED , CONSTR_CHECK , CONSTR_PRIMARY , CONSTR_UNIQUE ,
  CONSTR_EXCLUSION , CONSTR_FOREIGN , CONSTR_ATTR_DEFERRABLE , CONSTR_ATTR_NOT_DEFERRABLE ,
  CONSTR_ATTR_DEFERRED , CONSTR_ATTR_IMMEDIATE
}
 
enum  ImportForeignSchemaType { FDW_IMPORT_SCHEMA_ALL , FDW_IMPORT_SCHEMA_LIMIT_TO , FDW_IMPORT_SCHEMA_EXCEPT }
 
enum  RoleStmtType { ROLESTMT_ROLE , ROLESTMT_USER , ROLESTMT_GROUP }
 
enum  FetchDirection { FETCH_FORWARD , FETCH_BACKWARD , FETCH_ABSOLUTE , FETCH_RELATIVE }
 
enum  FunctionParameterMode {
  FUNC_PARAM_IN = 'i' , FUNC_PARAM_OUT = 'o' , FUNC_PARAM_INOUT = 'b' , FUNC_PARAM_VARIADIC = 'v' ,
  FUNC_PARAM_TABLE = 't' , FUNC_PARAM_DEFAULT = 'd'
}
 
enum  TransactionStmtKind {
  TRANS_STMT_BEGIN , TRANS_STMT_START , TRANS_STMT_COMMIT , TRANS_STMT_ROLLBACK ,
  TRANS_STMT_SAVEPOINT , TRANS_STMT_RELEASE , TRANS_STMT_ROLLBACK_TO , TRANS_STMT_PREPARE ,
  TRANS_STMT_COMMIT_PREPARED , TRANS_STMT_ROLLBACK_PREPARED
}
 
enum  ViewCheckOption { NO_CHECK_OPTION , LOCAL_CHECK_OPTION , CASCADED_CHECK_OPTION }
 
enum  DiscardMode { DISCARD_ALL , DISCARD_PLANS , DISCARD_SEQUENCES , DISCARD_TEMP }
 
enum  ReindexObjectType {
  REINDEX_OBJECT_INDEX , REINDEX_OBJECT_TABLE , REINDEX_OBJECT_SCHEMA , REINDEX_OBJECT_SYSTEM ,
  REINDEX_OBJECT_DATABASE
}
 
enum  AlterTSConfigType {
  ALTER_TSCONFIG_ADD_MAPPING , ALTER_TSCONFIG_ALTER_MAPPING_FOR_TOKEN , ALTER_TSCONFIG_REPLACE_DICT , ALTER_TSCONFIG_REPLACE_DICT_FOR_TOKEN ,
  ALTER_TSCONFIG_DROP_MAPPING
}
 
enum  PublicationObjSpecType { PUBLICATIONOBJ_TABLE , PUBLICATIONOBJ_TABLES_IN_SCHEMA , PUBLICATIONOBJ_TABLES_IN_CUR_SCHEMA , PUBLICATIONOBJ_CONTINUATION }
 
enum  AlterPublicationAction { AP_AddObjects , AP_DropObjects , AP_SetObjects }
 
enum  AlterSubscriptionType {
  ALTER_SUBSCRIPTION_OPTIONS , ALTER_SUBSCRIPTION_CONNECTION , ALTER_SUBSCRIPTION_SET_PUBLICATION , ALTER_SUBSCRIPTION_ADD_PUBLICATION ,
  ALTER_SUBSCRIPTION_DROP_PUBLICATION , ALTER_SUBSCRIPTION_REFRESH , ALTER_SUBSCRIPTION_ENABLED , ALTER_SUBSCRIPTION_SKIP
}
 

Macro Definition Documentation

◆ ACL_ALTER_SYSTEM

#define ACL_ALTER_SYSTEM   (1<<13) /* for configuration parameters */

Definition at line 95 of file parsenodes.h.

◆ ACL_CONNECT

#define ACL_CONNECT   (1<<11) /* for databases */

Definition at line 93 of file parsenodes.h.

◆ ACL_CREATE

#define ACL_CREATE   (1<<9) /* for namespaces and databases */

Definition at line 91 of file parsenodes.h.

◆ ACL_CREATE_TEMP

#define ACL_CREATE_TEMP   (1<<10) /* for databases */

Definition at line 92 of file parsenodes.h.

◆ ACL_DELETE

#define ACL_DELETE   (1<<3)

Definition at line 85 of file parsenodes.h.

◆ ACL_EXECUTE

#define ACL_EXECUTE   (1<<7) /* for functions */

Definition at line 89 of file parsenodes.h.

◆ ACL_INSERT

#define ACL_INSERT   (1<<0) /* for relations */

Definition at line 82 of file parsenodes.h.

◆ ACL_NO_RIGHTS

#define ACL_NO_RIGHTS   0

Definition at line 97 of file parsenodes.h.

◆ ACL_REFERENCES

#define ACL_REFERENCES   (1<<5)

Definition at line 87 of file parsenodes.h.

◆ ACL_SELECT

#define ACL_SELECT   (1<<1)

Definition at line 83 of file parsenodes.h.

◆ ACL_SELECT_FOR_UPDATE

#define ACL_SELECT_FOR_UPDATE   ACL_UPDATE

Definition at line 99 of file parsenodes.h.

◆ ACL_SET

#define ACL_SET   (1<<12) /* for configuration parameters */

Definition at line 94 of file parsenodes.h.

◆ ACL_TRIGGER

#define ACL_TRIGGER   (1<<6)

Definition at line 88 of file parsenodes.h.

◆ ACL_TRUNCATE

#define ACL_TRUNCATE   (1<<4)

Definition at line 86 of file parsenodes.h.

◆ ACL_UPDATE

#define ACL_UPDATE   (1<<2)

Definition at line 84 of file parsenodes.h.

◆ ACL_USAGE

#define ACL_USAGE
Value:
(1<<8) /* for languages, namespaces, FDWs, and
* servers */

Definition at line 90 of file parsenodes.h.

◆ CURSOR_OPT_ASENSITIVE

#define CURSOR_OPT_ASENSITIVE   0x0010 /* ASENSITIVE */

Definition at line 3172 of file parsenodes.h.

◆ CURSOR_OPT_BINARY

#define CURSOR_OPT_BINARY   0x0001 /* BINARY */

Definition at line 3168 of file parsenodes.h.

◆ CURSOR_OPT_CUSTOM_PLAN

#define CURSOR_OPT_CUSTOM_PLAN   0x0400 /* force use of custom plan */

Definition at line 3177 of file parsenodes.h.

◆ CURSOR_OPT_FAST_PLAN

#define CURSOR_OPT_FAST_PLAN   0x0100 /* prefer fast-start plan */

Definition at line 3175 of file parsenodes.h.

◆ CURSOR_OPT_GENERIC_PLAN

#define CURSOR_OPT_GENERIC_PLAN   0x0200 /* force use of generic plan */

Definition at line 3176 of file parsenodes.h.

◆ CURSOR_OPT_HOLD

#define CURSOR_OPT_HOLD   0x0020 /* WITH HOLD */

Definition at line 3173 of file parsenodes.h.

◆ CURSOR_OPT_INSENSITIVE

#define CURSOR_OPT_INSENSITIVE   0x0008 /* INSENSITIVE */

Definition at line 3171 of file parsenodes.h.

◆ CURSOR_OPT_NO_SCROLL

#define CURSOR_OPT_NO_SCROLL   0x0004 /* NO SCROLL explicitly given */

Definition at line 3170 of file parsenodes.h.

◆ CURSOR_OPT_PARALLEL_OK

#define CURSOR_OPT_PARALLEL_OK   0x0800 /* parallel mode OK */

Definition at line 3178 of file parsenodes.h.

◆ CURSOR_OPT_SCROLL

#define CURSOR_OPT_SCROLL   0x0002 /* SCROLL explicitly given */

Definition at line 3169 of file parsenodes.h.

◆ FETCH_ALL

#define FETCH_ALL   LONG_MAX

Definition at line 3213 of file parsenodes.h.

◆ FKCONSTR_ACTION_CASCADE

#define FKCONSTR_ACTION_CASCADE   'c'

Definition at line 2599 of file parsenodes.h.

◆ FKCONSTR_ACTION_NOACTION

#define FKCONSTR_ACTION_NOACTION   'a'

Definition at line 2597 of file parsenodes.h.

◆ FKCONSTR_ACTION_RESTRICT

#define FKCONSTR_ACTION_RESTRICT   'r'

Definition at line 2598 of file parsenodes.h.

◆ FKCONSTR_ACTION_SETDEFAULT

#define FKCONSTR_ACTION_SETDEFAULT   'd'

Definition at line 2601 of file parsenodes.h.

◆ FKCONSTR_ACTION_SETNULL

#define FKCONSTR_ACTION_SETNULL   'n'

Definition at line 2600 of file parsenodes.h.

◆ FKCONSTR_MATCH_FULL

#define FKCONSTR_MATCH_FULL   'f'

Definition at line 2604 of file parsenodes.h.

◆ FKCONSTR_MATCH_PARTIAL

#define FKCONSTR_MATCH_PARTIAL   'p'

Definition at line 2605 of file parsenodes.h.

◆ FKCONSTR_MATCH_SIMPLE

#define FKCONSTR_MATCH_SIMPLE   's'

Definition at line 2606 of file parsenodes.h.

◆ FRAMEOPTION_BETWEEN

#define FRAMEOPTION_BETWEEN   0x00010 /* BETWEEN given? */

Definition at line 540 of file parsenodes.h.

◆ FRAMEOPTION_DEFAULTS

#define FRAMEOPTION_DEFAULTS
Value:
FRAMEOPTION_END_CURRENT_ROW)
#define FRAMEOPTION_START_UNBOUNDED_PRECEDING
Definition: parsenodes.h:541
#define FRAMEOPTION_RANGE
Definition: parsenodes.h:537

Definition at line 563 of file parsenodes.h.

◆ FRAMEOPTION_END_CURRENT_ROW

#define FRAMEOPTION_END_CURRENT_ROW   0x00400 /* end is C. R. */

Definition at line 546 of file parsenodes.h.

◆ FRAMEOPTION_END_OFFSET

#define FRAMEOPTION_END_OFFSET    (FRAMEOPTION_END_OFFSET_PRECEDING | FRAMEOPTION_END_OFFSET_FOLLOWING)

Definition at line 557 of file parsenodes.h.

◆ FRAMEOPTION_END_OFFSET_FOLLOWING

#define FRAMEOPTION_END_OFFSET_FOLLOWING   0x04000 /* end is O. F. */

Definition at line 550 of file parsenodes.h.

◆ FRAMEOPTION_END_OFFSET_PRECEDING

#define FRAMEOPTION_END_OFFSET_PRECEDING   0x01000 /* end is O. P. */

Definition at line 548 of file parsenodes.h.

◆ FRAMEOPTION_END_UNBOUNDED_FOLLOWING

#define FRAMEOPTION_END_UNBOUNDED_FOLLOWING   0x00100 /* end is U. F. */

Definition at line 544 of file parsenodes.h.

◆ FRAMEOPTION_END_UNBOUNDED_PRECEDING

#define FRAMEOPTION_END_UNBOUNDED_PRECEDING   0x00040 /* (disallowed) */

Definition at line 542 of file parsenodes.h.

◆ FRAMEOPTION_EXCLUDE_CURRENT_ROW

#define FRAMEOPTION_EXCLUDE_CURRENT_ROW   0x08000 /* omit C.R. */

Definition at line 551 of file parsenodes.h.

◆ FRAMEOPTION_EXCLUDE_GROUP

#define FRAMEOPTION_EXCLUDE_GROUP   0x10000 /* omit C.R. & peers */

Definition at line 552 of file parsenodes.h.

◆ FRAMEOPTION_EXCLUDE_TIES

#define FRAMEOPTION_EXCLUDE_TIES   0x20000 /* omit C.R.'s peers */

Definition at line 553 of file parsenodes.h.

◆ FRAMEOPTION_EXCLUSION

#define FRAMEOPTION_EXCLUSION
Value:
FRAMEOPTION_EXCLUDE_TIES)
#define FRAMEOPTION_EXCLUDE_CURRENT_ROW
Definition: parsenodes.h:551
#define FRAMEOPTION_EXCLUDE_GROUP
Definition: parsenodes.h:552

Definition at line 559 of file parsenodes.h.

◆ FRAMEOPTION_GROUPS

#define FRAMEOPTION_GROUPS   0x00008 /* GROUPS behavior */

Definition at line 539 of file parsenodes.h.

◆ FRAMEOPTION_NONDEFAULT

#define FRAMEOPTION_NONDEFAULT   0x00001 /* any specified? */

Definition at line 536 of file parsenodes.h.

◆ FRAMEOPTION_RANGE

#define FRAMEOPTION_RANGE   0x00002 /* RANGE behavior */

Definition at line 537 of file parsenodes.h.

◆ FRAMEOPTION_ROWS

#define FRAMEOPTION_ROWS   0x00004 /* ROWS behavior */

Definition at line 538 of file parsenodes.h.

◆ FRAMEOPTION_START_CURRENT_ROW

#define FRAMEOPTION_START_CURRENT_ROW   0x00200 /* start is C. R. */

Definition at line 545 of file parsenodes.h.

◆ FRAMEOPTION_START_OFFSET

#define FRAMEOPTION_START_OFFSET    (FRAMEOPTION_START_OFFSET_PRECEDING | FRAMEOPTION_START_OFFSET_FOLLOWING)

Definition at line 555 of file parsenodes.h.

◆ FRAMEOPTION_START_OFFSET_FOLLOWING

#define FRAMEOPTION_START_OFFSET_FOLLOWING   0x02000 /* start is O. F. */

Definition at line 549 of file parsenodes.h.

◆ FRAMEOPTION_START_OFFSET_PRECEDING

#define FRAMEOPTION_START_OFFSET_PRECEDING   0x00800 /* start is O. P. */

Definition at line 547 of file parsenodes.h.

◆ FRAMEOPTION_START_UNBOUNDED_FOLLOWING

#define FRAMEOPTION_START_UNBOUNDED_FOLLOWING   0x00080 /* (disallowed) */

Definition at line 543 of file parsenodes.h.

◆ FRAMEOPTION_START_UNBOUNDED_PRECEDING

#define FRAMEOPTION_START_UNBOUNDED_PRECEDING   0x00020 /* start is U. P. */

Definition at line 541 of file parsenodes.h.

◆ GetCTETargetList

#define GetCTETargetList (   cte)
Value:
(AssertMacro(IsA((cte)->ctequery, Query)), \
((Query *) (cte)->ctequery)->commandType == CMD_SELECT ? \
((Query *) (cte)->ctequery)->targetList : \
((Query *) (cte)->ctequery)->returningList)
#define AssertMacro(condition)
Definition: c.h:816
#define IsA(nodeptr, _type_)
Definition: nodes.h:625
@ CMD_SELECT
Definition: nodes.h:722

Definition at line 1543 of file parsenodes.h.

◆ N_ACL_RIGHTS

#define N_ACL_RIGHTS   14 /* 1 plus the last 1<<x */

Definition at line 96 of file parsenodes.h.

◆ OPCLASS_ITEM_FUNCTION

#define OPCLASS_ITEM_FUNCTION   2

Definition at line 3068 of file parsenodes.h.

◆ OPCLASS_ITEM_OPERATOR

#define OPCLASS_ITEM_OPERATOR   1

Definition at line 3067 of file parsenodes.h.

◆ OPCLASS_ITEM_STORAGETYPE

#define OPCLASS_ITEM_STORAGETYPE   3

Definition at line 3069 of file parsenodes.h.

◆ PARTITION_STRATEGY_HASH

#define PARTITION_STRATEGY_HASH   'h'

Definition at line 835 of file parsenodes.h.

◆ PARTITION_STRATEGY_LIST

#define PARTITION_STRATEGY_LIST   'l'

Definition at line 836 of file parsenodes.h.

◆ PARTITION_STRATEGY_RANGE

#define PARTITION_STRATEGY_RANGE   'r'

Definition at line 837 of file parsenodes.h.

Typedef Documentation

◆ A_ArrayExpr

typedef struct A_ArrayExpr A_ArrayExpr

◆ A_Const

typedef struct A_Const A_Const

◆ A_Expr

typedef struct A_Expr A_Expr

◆ A_Expr_Kind

typedef enum A_Expr_Kind A_Expr_Kind

◆ A_Indices

typedef struct A_Indices A_Indices

◆ A_Indirection

typedef struct A_Indirection A_Indirection

◆ A_Star

typedef struct A_Star A_Star

◆ AccessPriv

typedef struct AccessPriv AccessPriv

◆ AclMode

typedef uint32 AclMode

Definition at line 80 of file parsenodes.h.

◆ AlterCollationStmt

◆ AlterDatabaseRefreshCollStmt

◆ AlterDatabaseSetStmt

◆ AlterDatabaseStmt

◆ AlterDefaultPrivilegesStmt

◆ AlterDomainStmt

◆ AlterEnumStmt

typedef struct AlterEnumStmt AlterEnumStmt

◆ AlterEventTrigStmt

◆ AlterExtensionContentsStmt

◆ AlterExtensionStmt

◆ AlterFdwStmt

typedef struct AlterFdwStmt AlterFdwStmt

◆ AlterForeignServerStmt

◆ AlterFunctionStmt

◆ AlterObjectDependsStmt

◆ AlterObjectSchemaStmt

◆ AlterOperatorStmt

◆ AlterOpFamilyStmt

◆ AlterOwnerStmt

◆ AlterPolicyStmt

◆ AlterPublicationAction

◆ AlterPublicationStmt

◆ AlterRoleSetStmt

◆ AlterRoleStmt

typedef struct AlterRoleStmt AlterRoleStmt

◆ AlterSeqStmt

typedef struct AlterSeqStmt AlterSeqStmt

◆ AlterStatsStmt

◆ AlterSubscriptionStmt

◆ AlterSubscriptionType

◆ AlterSystemStmt

◆ AlterTableCmd

typedef struct AlterTableCmd AlterTableCmd

◆ AlterTableMoveAllStmt

◆ AlterTableSpaceOptionsStmt

◆ AlterTableStmt

◆ AlterTableType

◆ AlterTSConfigType

◆ AlterTSConfigurationStmt

◆ AlterTSDictionaryStmt

◆ AlterTypeStmt

typedef struct AlterTypeStmt AlterTypeStmt

◆ AlterUserMappingStmt

◆ CallContext

typedef struct CallContext CallContext

◆ CallStmt

typedef struct CallStmt CallStmt

◆ CheckPointStmt

◆ ClosePortalStmt

◆ ClusterStmt

typedef struct ClusterStmt ClusterStmt

◆ CollateClause

typedef struct CollateClause CollateClause

◆ ColumnDef

typedef struct ColumnDef ColumnDef

◆ ColumnRef

typedef struct ColumnRef ColumnRef

◆ CommentStmt

typedef struct CommentStmt CommentStmt

◆ CommonTableExpr

◆ CompositeTypeStmt

◆ Constraint

typedef struct Constraint Constraint

◆ ConstraintsSetStmt

◆ ConstrType

typedef enum ConstrType ConstrType

◆ CopyStmt

typedef struct CopyStmt CopyStmt

◆ CreateAmStmt

typedef struct CreateAmStmt CreateAmStmt

◆ CreateCastStmt

◆ CreateConversionStmt

◆ CreatedbStmt

typedef struct CreatedbStmt CreatedbStmt

◆ CreateDomainStmt

◆ CreateEnumStmt

◆ CreateEventTrigStmt

◆ CreateExtensionStmt

◆ CreateFdwStmt

typedef struct CreateFdwStmt CreateFdwStmt

◆ CreateForeignServerStmt

◆ CreateForeignTableStmt

◆ CreateFunctionStmt

◆ CreateOpClassItem

◆ CreateOpClassStmt

◆ CreateOpFamilyStmt

◆ CreatePLangStmt

◆ CreatePolicyStmt

◆ CreatePublicationStmt

◆ CreateRangeStmt

◆ CreateRoleStmt

◆ CreateSchemaStmt

◆ CreateSeqStmt

typedef struct CreateSeqStmt CreateSeqStmt

◆ CreateStatsStmt

◆ CreateStmt

typedef struct CreateStmt CreateStmt

◆ CreateSubscriptionStmt

◆ CreateTableAsStmt

◆ CreateTableSpaceStmt

◆ CreateTransformStmt

◆ CreateTrigStmt

◆ CreateUserMappingStmt

◆ CTECycleClause

◆ CTEMaterialize

◆ CTESearchClause

◆ DeallocateStmt

◆ DeclareCursorStmt

◆ DefElem

typedef struct DefElem DefElem

◆ DefElemAction

◆ DefineStmt

typedef struct DefineStmt DefineStmt

◆ DeleteStmt

typedef struct DeleteStmt DeleteStmt

◆ DiscardMode

typedef enum DiscardMode DiscardMode

◆ DiscardStmt

typedef struct DiscardStmt DiscardStmt

◆ DoStmt

typedef struct DoStmt DoStmt

◆ DropBehavior

typedef enum DropBehavior DropBehavior

◆ DropdbStmt

typedef struct DropdbStmt DropdbStmt

◆ DropOwnedStmt

typedef struct DropOwnedStmt DropOwnedStmt

◆ DropRoleStmt

typedef struct DropRoleStmt DropRoleStmt

◆ DropStmt

typedef struct DropStmt DropStmt

◆ DropSubscriptionStmt

◆ DropTableSpaceStmt

◆ DropUserMappingStmt

◆ ExecuteStmt

typedef struct ExecuteStmt ExecuteStmt

◆ ExplainStmt

typedef struct ExplainStmt ExplainStmt

◆ FetchDirection

◆ FetchStmt

typedef struct FetchStmt FetchStmt

◆ FuncCall

typedef struct FuncCall FuncCall

◆ FunctionParameter

◆ FunctionParameterMode

◆ GrantRoleStmt

typedef struct GrantRoleStmt GrantRoleStmt

◆ GrantStmt

typedef struct GrantStmt GrantStmt

◆ GrantTargetType

◆ GroupingSet

typedef struct GroupingSet GroupingSet

◆ GroupingSetKind

◆ ImportForeignSchemaStmt

◆ ImportForeignSchemaType

◆ IndexElem

typedef struct IndexElem IndexElem

◆ IndexStmt

typedef struct IndexStmt IndexStmt

◆ InferClause

typedef struct InferClause InferClause

◆ InlineCodeBlock

◆ InsertStmt

typedef struct InsertStmt InsertStmt

◆ JsonAggConstructor

◆ JsonArgument

typedef struct JsonArgument JsonArgument

◆ JsonArrayAgg

typedef struct JsonArrayAgg JsonArrayAgg

◆ JsonArrayConstructor

◆ JsonArrayQueryConstructor

◆ JsonCommon

typedef struct JsonCommon JsonCommon

◆ JsonFuncExpr

typedef struct JsonFuncExpr JsonFuncExpr

◆ JsonKeyValue

typedef struct JsonKeyValue JsonKeyValue

◆ JsonObjectAgg

typedef struct JsonObjectAgg JsonObjectAgg

◆ JsonObjectConstructor

◆ JsonOutput

typedef struct JsonOutput JsonOutput

◆ JsonParseExpr

typedef struct JsonParseExpr JsonParseExpr

◆ JsonQuotes

typedef enum JsonQuotes JsonQuotes

◆ JsonScalarExpr

◆ JsonSerializeExpr

◆ JsonTable

typedef struct JsonTable JsonTable

◆ JsonTableColumn

◆ JsonTableColumnType

◆ JsonTablePlan

typedef struct JsonTablePlan JsonTablePlan

Definition at line 80 of file parsenodes.h.

◆ JsonTablePlanJoinType

◆ JsonTablePlanType

◆ ListenStmt

typedef struct ListenStmt ListenStmt

◆ LoadStmt

typedef struct LoadStmt LoadStmt

◆ LockingClause

typedef struct LockingClause LockingClause

◆ LockStmt

typedef struct LockStmt LockStmt

◆ MergeAction

typedef struct MergeAction MergeAction

◆ MergeStmt

typedef struct MergeStmt MergeStmt

◆ MergeWhenClause

◆ MultiAssignRef

◆ NotifyStmt

typedef struct NotifyStmt NotifyStmt

◆ ObjectType

typedef enum ObjectType ObjectType

◆ ObjectWithArgs

◆ OnConflictClause

◆ OverridingKind

◆ ParamRef

typedef struct ParamRef ParamRef

◆ PartitionCmd

typedef struct PartitionCmd PartitionCmd

◆ PartitionElem

typedef struct PartitionElem PartitionElem

◆ PartitionRangeDatum

◆ PartitionRangeDatumKind

◆ PartitionSpec

typedef struct PartitionSpec PartitionSpec

◆ PLAssignStmt

typedef struct PLAssignStmt PLAssignStmt

◆ PrepareStmt

typedef struct PrepareStmt PrepareStmt

◆ PublicationObjSpec

◆ PublicationObjSpecType

◆ PublicationTable

◆ Query

typedef struct Query Query

◆ QuerySource

typedef enum QuerySource QuerySource

◆ RangeFunction

typedef struct RangeFunction RangeFunction

◆ RangeSubselect

◆ RangeTableFunc

◆ RangeTableFuncCol

◆ RangeTableSample

◆ RangeTblEntry

typedef struct RangeTblEntry RangeTblEntry

◆ RangeTblFunction

◆ RawStmt

typedef struct RawStmt RawStmt

◆ ReassignOwnedStmt

◆ RefreshMatViewStmt

◆ ReindexObjectType

◆ ReindexStmt

typedef struct ReindexStmt ReindexStmt

◆ RenameStmt

typedef struct RenameStmt RenameStmt

◆ ReplicaIdentityStmt

◆ ResTarget

typedef struct ResTarget ResTarget

◆ ReturnStmt

typedef struct ReturnStmt ReturnStmt

◆ RoleSpec

typedef struct RoleSpec RoleSpec

◆ RoleSpecType

typedef enum RoleSpecType RoleSpecType

◆ RoleStmtType

typedef enum RoleStmtType RoleStmtType

◆ RowMarkClause

typedef struct RowMarkClause RowMarkClause

◆ RTEKind

typedef enum RTEKind RTEKind

◆ RuleStmt

typedef struct RuleStmt RuleStmt

◆ SecLabelStmt

typedef struct SecLabelStmt SecLabelStmt

◆ SelectStmt

typedef struct SelectStmt SelectStmt

◆ SetOperation

typedef enum SetOperation SetOperation

◆ SetOperationStmt

◆ SetQuantifier

◆ SortBy

typedef struct SortBy SortBy

◆ SortByDir

typedef enum SortByDir SortByDir

◆ SortByNulls

typedef enum SortByNulls SortByNulls

◆ SortGroupClause

◆ StatsElem

typedef struct StatsElem StatsElem

◆ TableLikeClause

◆ TableLikeOption

◆ TableSampleClause

◆ TransactionStmt

◆ TransactionStmtKind

◆ TriggerTransition

◆ TruncateStmt

typedef struct TruncateStmt TruncateStmt

◆ TypeCast

typedef struct TypeCast TypeCast

◆ TypeName

typedef struct TypeName TypeName

◆ UnlistenStmt

typedef struct UnlistenStmt UnlistenStmt

◆ UpdateStmt

typedef struct UpdateStmt UpdateStmt

◆ VacuumRelation

◆ VacuumStmt

typedef struct VacuumStmt VacuumStmt

◆ VariableSetKind

◆ VariableSetStmt

◆ VariableShowStmt

◆ ViewCheckOption

◆ ViewStmt

typedef struct ViewStmt ViewStmt

◆ WCOKind

typedef enum WCOKind WCOKind

◆ WindowClause

typedef struct WindowClause WindowClause

◆ WindowDef

typedef struct WindowDef WindowDef

◆ WithCheckOption

◆ WithClause

typedef struct WithClause WithClause

◆ XmlSerialize

typedef struct XmlSerialize XmlSerialize

Enumeration Type Documentation

◆ A_Expr_Kind

Enumerator
AEXPR_OP 
AEXPR_OP_ANY 
AEXPR_OP_ALL 
AEXPR_DISTINCT 
AEXPR_NOT_DISTINCT 
AEXPR_NULLIF 
AEXPR_IN 
AEXPR_LIKE 
AEXPR_ILIKE 
AEXPR_SIMILAR 
AEXPR_BETWEEN 
AEXPR_NOT_BETWEEN 
AEXPR_BETWEEN_SYM 
AEXPR_NOT_BETWEEN_SYM 

Definition at line 270 of file parsenodes.h.

272 {
273  AEXPR_OP, /* normal operator */
274  AEXPR_OP_ANY, /* scalar op ANY (array) */
275  AEXPR_OP_ALL, /* scalar op ALL (array) */
276  AEXPR_DISTINCT, /* IS DISTINCT FROM - name must be "=" */
277  AEXPR_NOT_DISTINCT, /* IS NOT DISTINCT FROM - name must be "=" */
278  AEXPR_NULLIF, /* NULLIF - name must be "=" */
279  AEXPR_IN, /* [NOT] IN - name must be "=" or "<>" */
280  AEXPR_LIKE, /* [NOT] LIKE - name must be "~~" or "!~~" */
281  AEXPR_ILIKE, /* [NOT] ILIKE - name must be "~~*" or "!~~*" */
282  AEXPR_SIMILAR, /* [NOT] SIMILAR - name must be "~" or "!~" */
283  AEXPR_BETWEEN, /* name must be "BETWEEN" */
284  AEXPR_NOT_BETWEEN, /* name must be "NOT BETWEEN" */
285  AEXPR_BETWEEN_SYM, /* name must be "BETWEEN SYMMETRIC" */
286  AEXPR_NOT_BETWEEN_SYM /* name must be "NOT BETWEEN SYMMETRIC" */
@ AEXPR_BETWEEN
Definition: parsenodes.h:282
@ AEXPR_NULLIF
Definition: parsenodes.h:277
@ AEXPR_NOT_DISTINCT
Definition: parsenodes.h:276
@ AEXPR_BETWEEN_SYM
Definition: parsenodes.h:284
@ AEXPR_NOT_BETWEEN_SYM
Definition: parsenodes.h:285
@ AEXPR_ILIKE
Definition: parsenodes.h:280
@ AEXPR_IN
Definition: parsenodes.h:278
@ AEXPR_NOT_BETWEEN
Definition: parsenodes.h:283
@ AEXPR_DISTINCT
Definition: parsenodes.h:275
@ AEXPR_SIMILAR
Definition: parsenodes.h:281
@ AEXPR_LIKE
Definition: parsenodes.h:279
@ AEXPR_OP
Definition: parsenodes.h:272
@ AEXPR_OP_ANY
Definition: parsenodes.h:273
@ AEXPR_OP_ALL
Definition: parsenodes.h:274

◆ AlterPublicationAction

Enumerator
AP_AddObjects 
AP_DropObjects 
AP_SetObjects 

Definition at line 4034 of file parsenodes.h.

4036 {
4037  AP_AddObjects, /* add objects to publication */
4038  AP_DropObjects, /* remove objects from publication */
4039  AP_SetObjects /* set list of objects */
@ AP_DropObjects
Definition: parsenodes.h:4037
@ AP_SetObjects
Definition: parsenodes.h:4038
@ AP_AddObjects
Definition: parsenodes.h:4036

◆ AlterSubscriptionType

Enumerator
ALTER_SUBSCRIPTION_OPTIONS 
ALTER_SUBSCRIPTION_CONNECTION 
ALTER_SUBSCRIPTION_SET_PUBLICATION 
ALTER_SUBSCRIPTION_ADD_PUBLICATION 
ALTER_SUBSCRIPTION_DROP_PUBLICATION 
ALTER_SUBSCRIPTION_REFRESH 
ALTER_SUBSCRIPTION_ENABLED 
ALTER_SUBSCRIPTION_SKIP 

Definition at line 4068 of file parsenodes.h.

4070 {
@ ALTER_SUBSCRIPTION_ENABLED
Definition: parsenodes.h:4076
@ ALTER_SUBSCRIPTION_DROP_PUBLICATION
Definition: parsenodes.h:4074
@ ALTER_SUBSCRIPTION_SET_PUBLICATION
Definition: parsenodes.h:4072
@ ALTER_SUBSCRIPTION_REFRESH
Definition: parsenodes.h:4075
@ ALTER_SUBSCRIPTION_SKIP
Definition: parsenodes.h:4077
@ ALTER_SUBSCRIPTION_OPTIONS
Definition: parsenodes.h:4070
@ ALTER_SUBSCRIPTION_CONNECTION
Definition: parsenodes.h:4071
@ ALTER_SUBSCRIPTION_ADD_PUBLICATION
Definition: parsenodes.h:4073

◆ AlterTableType

Enumerator
AT_AddColumn 
AT_AddColumnRecurse 
AT_AddColumnToView 
AT_ColumnDefault 
AT_CookedColumnDefault 
AT_DropNotNull 
AT_SetNotNull 
AT_DropExpression 
AT_CheckNotNull 
AT_SetStatistics 
AT_SetOptions 
AT_ResetOptions 
AT_SetStorage 
AT_SetCompression 
AT_DropColumn 
AT_DropColumnRecurse 
AT_AddIndex 
AT_ReAddIndex 
AT_AddConstraint 
AT_AddConstraintRecurse 
AT_ReAddConstraint 
AT_ReAddDomainConstraint 
AT_AlterConstraint 
AT_ValidateConstraint 
AT_ValidateConstraintRecurse 
AT_AddIndexConstraint 
AT_DropConstraint 
AT_DropConstraintRecurse 
AT_ReAddComment 
AT_AlterColumnType 
AT_AlterColumnGenericOptions 
AT_ChangeOwner 
AT_ClusterOn 
AT_DropCluster 
AT_SetLogged 
AT_SetUnLogged 
AT_DropOids 
AT_SetAccessMethod 
AT_SetTableSpace 
AT_SetRelOptions 
AT_ResetRelOptions 
AT_ReplaceRelOptions 
AT_EnableTrig 
AT_EnableAlwaysTrig 
AT_EnableReplicaTrig 
AT_DisableTrig 
AT_EnableTrigAll 
AT_DisableTrigAll 
AT_EnableTrigUser 
AT_DisableTrigUser 
AT_EnableRule 
AT_EnableAlwaysRule 
AT_EnableReplicaRule 
AT_DisableRule 
AT_AddInherit 
AT_DropInherit 
AT_AddOf 
AT_DropOf 
AT_ReplicaIdentity 
AT_EnableRowSecurity 
AT_DisableRowSecurity 
AT_ForceRowSecurity 
AT_NoForceRowSecurity 
AT_GenericOptions 
AT_AttachPartition 
AT_DetachPartition 
AT_DetachPartitionFinalize 
AT_AddIdentity 
AT_SetIdentity 
AT_DropIdentity 
AT_ReAddStatistics 

Definition at line 2225 of file parsenodes.h.

2227 {
2228  AT_AddColumn, /* add column */
2229  AT_AddColumnRecurse, /* internal to commands/tablecmds.c */
2230  AT_AddColumnToView, /* implicitly via CREATE OR REPLACE VIEW */
2231  AT_ColumnDefault, /* alter column default */
2232  AT_CookedColumnDefault, /* add a pre-cooked column default */
2233  AT_DropNotNull, /* alter column drop not null */
2234  AT_SetNotNull, /* alter column set not null */
2235  AT_DropExpression, /* alter column drop expression */
2236  AT_CheckNotNull, /* check column is already marked not null */
2237  AT_SetStatistics, /* alter column set statistics */
2238  AT_SetOptions, /* alter column set ( options ) */
2239  AT_ResetOptions, /* alter column reset ( options ) */
2240  AT_SetStorage, /* alter column set storage */
2241  AT_SetCompression, /* alter column set compression */
2242  AT_DropColumn, /* drop column */
2243  AT_DropColumnRecurse, /* internal to commands/tablecmds.c */
2244  AT_AddIndex, /* add index */
2245  AT_ReAddIndex, /* internal to commands/tablecmds.c */
2246  AT_AddConstraint, /* add constraint */
2247  AT_AddConstraintRecurse, /* internal to commands/tablecmds.c */
2248  AT_ReAddConstraint, /* internal to commands/tablecmds.c */
2249  AT_ReAddDomainConstraint, /* internal to commands/tablecmds.c */
2250  AT_AlterConstraint, /* alter constraint */
2251  AT_ValidateConstraint, /* validate constraint */
2252  AT_ValidateConstraintRecurse, /* internal to commands/tablecmds.c */
2253  AT_AddIndexConstraint, /* add constraint using existing index */
2254  AT_DropConstraint, /* drop constraint */
2255  AT_DropConstraintRecurse, /* internal to commands/tablecmds.c */
2256  AT_ReAddComment, /* internal to commands/tablecmds.c */
2257  AT_AlterColumnType, /* alter column type */
2258  AT_AlterColumnGenericOptions, /* alter column OPTIONS (...) */
2259  AT_ChangeOwner, /* change owner */
2260  AT_ClusterOn, /* CLUSTER ON */
2261  AT_DropCluster, /* SET WITHOUT CLUSTER */
2262  AT_SetLogged, /* SET LOGGED */
2263  AT_SetUnLogged, /* SET UNLOGGED */
2264  AT_DropOids, /* SET WITHOUT OIDS */
2265  AT_SetAccessMethod, /* SET ACCESS METHOD */
2266  AT_SetTableSpace, /* SET TABLESPACE */
2267  AT_SetRelOptions, /* SET (...) -- AM specific parameters */
2268  AT_ResetRelOptions, /* RESET (...) -- AM specific parameters */
2269  AT_ReplaceRelOptions, /* replace reloption list in its entirety */
2270  AT_EnableTrig, /* ENABLE TRIGGER name */
2271  AT_EnableAlwaysTrig, /* ENABLE ALWAYS TRIGGER name */
2272  AT_EnableReplicaTrig, /* ENABLE REPLICA TRIGGER name */
2273  AT_DisableTrig, /* DISABLE TRIGGER name */
2274  AT_EnableTrigAll, /* ENABLE TRIGGER ALL */
2275  AT_DisableTrigAll, /* DISABLE TRIGGER ALL */
2276  AT_EnableTrigUser, /* ENABLE TRIGGER USER */
2277  AT_DisableTrigUser, /* DISABLE TRIGGER USER */
2278  AT_EnableRule, /* ENABLE RULE name */
2279  AT_EnableAlwaysRule, /* ENABLE ALWAYS RULE name */
2280  AT_EnableReplicaRule, /* ENABLE REPLICA RULE name */
2281  AT_DisableRule, /* DISABLE RULE name */
2282  AT_AddInherit, /* INHERIT parent */
2283  AT_DropInherit, /* NO INHERIT parent */
2284  AT_AddOf, /* OF <type_name> */
2285  AT_DropOf, /* NOT OF */
2286  AT_ReplicaIdentity, /* REPLICA IDENTITY */
2287  AT_EnableRowSecurity, /* ENABLE ROW SECURITY */
2288  AT_DisableRowSecurity, /* DISABLE ROW SECURITY */
2289  AT_ForceRowSecurity, /* FORCE ROW SECURITY */
2290  AT_NoForceRowSecurity, /* NO FORCE ROW SECURITY */
2291  AT_GenericOptions, /* OPTIONS (...) */
2292  AT_AttachPartition, /* ATTACH PARTITION */
2293  AT_DetachPartition, /* DETACH PARTITION */
2294  AT_DetachPartitionFinalize, /* DETACH PARTITION FINALIZE */
2295  AT_AddIdentity, /* ADD IDENTITY */
2296  AT_SetIdentity, /* SET identity column options */
2297  AT_DropIdentity, /* DROP IDENTITY */
2298  AT_ReAddStatistics /* internal to commands/tablecmds.c */
@ AT_AddIndexConstraint
Definition: parsenodes.h:2252
@ AT_DropOf
Definition: parsenodes.h:2284
@ AT_CheckNotNull
Definition: parsenodes.h:2235
@ AT_SetOptions
Definition: parsenodes.h:2237
@ AT_DropIdentity
Definition: parsenodes.h:2296
@ AT_DisableTrigUser
Definition: parsenodes.h:2276
@ AT_DropNotNull
Definition: parsenodes.h:2232
@ AT_AddOf
Definition: parsenodes.h:2283
@ AT_ResetOptions
Definition: parsenodes.h:2238
@ AT_ReplicaIdentity
Definition: parsenodes.h:2285
@ AT_DropColumnRecurse
Definition: parsenodes.h:2242
@ AT_ReplaceRelOptions
Definition: parsenodes.h:2268
@ AT_EnableRowSecurity
Definition: parsenodes.h:2286
@ AT_AddColumnToView
Definition: parsenodes.h:2229
@ AT_ResetRelOptions
Definition: parsenodes.h:2267
@ AT_AddConstraintRecurse
Definition: parsenodes.h:2246
@ AT_EnableReplicaTrig
Definition: parsenodes.h:2271
@ AT_DropOids
Definition: parsenodes.h:2263
@ AT_SetIdentity
Definition: parsenodes.h:2295
@ AT_ReAddStatistics
Definition: parsenodes.h:2297
@ AT_SetUnLogged
Definition: parsenodes.h:2262
@ AT_DisableTrig
Definition: parsenodes.h:2272
@ AT_SetCompression
Definition: parsenodes.h:2240
@ AT_DropExpression
Definition: parsenodes.h:2234
@ AT_AddIndex
Definition: parsenodes.h:2243
@ AT_EnableReplicaRule
Definition: parsenodes.h:2279
@ AT_ReAddIndex
Definition: parsenodes.h:2244
@ AT_DropConstraint
Definition: parsenodes.h:2253
@ AT_SetNotNull
Definition: parsenodes.h:2233
@ AT_ClusterOn
Definition: parsenodes.h:2259
@ AT_AddIdentity
Definition: parsenodes.h:2294
@ AT_ForceRowSecurity
Definition: parsenodes.h:2288
@ AT_EnableAlwaysRule
Definition: parsenodes.h:2278
@ AT_SetAccessMethod
Definition: parsenodes.h:2264
@ AT_AlterColumnType
Definition: parsenodes.h:2256
@ AT_DetachPartitionFinalize
Definition: parsenodes.h:2293
@ AT_AddInherit
Definition: parsenodes.h:2281
@ AT_ReAddDomainConstraint
Definition: parsenodes.h:2248
@ AT_EnableTrig
Definition: parsenodes.h:2269
@ AT_AddColumnRecurse
Definition: parsenodes.h:2228
@ AT_DropColumn
Definition: parsenodes.h:2241
@ AT_ValidateConstraintRecurse
Definition: parsenodes.h:2251
@ AT_ReAddComment
Definition: parsenodes.h:2255
@ AT_AlterColumnGenericOptions
Definition: parsenodes.h:2257
@ AT_DisableTrigAll
Definition: parsenodes.h:2274
@ AT_EnableRule
Definition: parsenodes.h:2277
@ AT_NoForceRowSecurity
Definition: parsenodes.h:2289
@ AT_DetachPartition
Definition: parsenodes.h:2292
@ AT_SetStatistics
Definition: parsenodes.h:2236
@ AT_AttachPartition
Definition: parsenodes.h:2291
@ AT_AddConstraint
Definition: parsenodes.h:2245
@ AT_DropInherit
Definition: parsenodes.h:2282
@ AT_EnableAlwaysTrig
Definition: parsenodes.h:2270
@ AT_SetLogged
Definition: parsenodes.h:2261
@ AT_SetStorage
Definition: parsenodes.h:2239
@ AT_DisableRule
Definition: parsenodes.h:2280
@ AT_DisableRowSecurity
Definition: parsenodes.h:2287
@ AT_SetRelOptions
Definition: parsenodes.h:2266
@ AT_ChangeOwner
Definition: parsenodes.h:2258
@ AT_EnableTrigUser
Definition: parsenodes.h:2275
@ AT_ReAddConstraint
Definition: parsenodes.h:2247
@ AT_DropConstraintRecurse
Definition: parsenodes.h:2254
@ AT_SetTableSpace
Definition: parsenodes.h:2265
@ AT_GenericOptions
Definition: parsenodes.h:2290
@ AT_ColumnDefault
Definition: parsenodes.h:2230
@ AT_CookedColumnDefault
Definition: parsenodes.h:2231
@ AT_AlterConstraint
Definition: parsenodes.h:2249
@ AT_EnableTrigAll
Definition: parsenodes.h:2273
@ AT_DropCluster
Definition: parsenodes.h:2260
@ AT_ValidateConstraint
Definition: parsenodes.h:2250
@ AT_AddColumn
Definition: parsenodes.h:2227

◆ 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 3970 of file parsenodes.h.

3972 {
@ ALTER_TSCONFIG_ALTER_MAPPING_FOR_TOKEN
Definition: parsenodes.h:3973
@ ALTER_TSCONFIG_REPLACE_DICT_FOR_TOKEN
Definition: parsenodes.h:3975
@ ALTER_TSCONFIG_REPLACE_DICT
Definition: parsenodes.h:3974
@ ALTER_TSCONFIG_ADD_MAPPING
Definition: parsenodes.h:3972
@ ALTER_TSCONFIG_DROP_MAPPING
Definition: parsenodes.h:3976

◆ ConstrType

enum ConstrType
Enumerator
CONSTR_NULL 
CONSTR_NOTNULL 
CONSTR_DEFAULT 
CONSTR_IDENTITY 
CONSTR_GENERATED 
CONSTR_CHECK 
CONSTR_PRIMARY 
CONSTR_UNIQUE 
CONSTR_EXCLUSION 
CONSTR_FOREIGN 
CONSTR_ATTR_DEFERRABLE 
CONSTR_ATTR_NOT_DEFERRABLE 
CONSTR_ATTR_DEFERRED 
CONSTR_ATTR_IMMEDIATE 

Definition at line 2577 of file parsenodes.h.

2579 {
2580  CONSTR_NULL, /* not standard SQL, but a lot of people
2581  * expect it */
2586  CONSTR_CHECK,
2588  CONSTR_UNIQUE,
2591  CONSTR_ATTR_DEFERRABLE, /* attributes for previous constraint node */
@ CONSTR_FOREIGN
Definition: parsenodes.h:2589
@ CONSTR_ATTR_DEFERRED
Definition: parsenodes.h:2592
@ CONSTR_IDENTITY
Definition: parsenodes.h:2583
@ CONSTR_UNIQUE
Definition: parsenodes.h:2587
@ CONSTR_ATTR_NOT_DEFERRABLE
Definition: parsenodes.h:2591
@ CONSTR_DEFAULT
Definition: parsenodes.h:2582
@ CONSTR_NOTNULL
Definition: parsenodes.h:2581
@ CONSTR_ATTR_IMMEDIATE
Definition: parsenodes.h:2593
@ CONSTR_CHECK
Definition: parsenodes.h:2585
@ CONSTR_NULL
Definition: parsenodes.h:2579
@ CONSTR_GENERATED
Definition: parsenodes.h:2584
@ CONSTR_EXCLUSION
Definition: parsenodes.h:2588
@ CONSTR_ATTR_DEFERRABLE
Definition: parsenodes.h:2590
@ CONSTR_PRIMARY
Definition: parsenodes.h:2586

◆ CTEMaterialize

Enumerator
CTEMaterializeDefault 
CTEMaterializeAlways 
CTEMaterializeNever 

Definition at line 1489 of file parsenodes.h.

1491 {
1492  CTEMaterializeDefault, /* no option specified */
1493  CTEMaterializeAlways, /* MATERIALIZED */
1494  CTEMaterializeNever /* NOT MATERIALIZED */
@ CTEMaterializeNever
Definition: parsenodes.h:1493
@ CTEMaterializeAlways
Definition: parsenodes.h:1492
@ CTEMaterializeDefault
Definition: parsenodes.h:1491

◆ DefElemAction

Enumerator
DEFELEM_UNSPEC 
DEFELEM_SET 
DEFELEM_ADD 
DEFELEM_DROP 

Definition at line 754 of file parsenodes.h.

756 {
757  DEFELEM_UNSPEC, /* no action given */
758  DEFELEM_SET,
759  DEFELEM_ADD,
@ DEFELEM_UNSPEC
Definition: parsenodes.h:756
@ DEFELEM_DROP
Definition: parsenodes.h:759
@ DEFELEM_SET
Definition: parsenodes.h:757
@ DEFELEM_ADD
Definition: parsenodes.h:758

◆ DiscardMode

Enumerator
DISCARD_ALL 
DISCARD_PLANS 
DISCARD_SEQUENCES 
DISCARD_TEMP 

Definition at line 3798 of file parsenodes.h.

3800 {
3801  DISCARD_ALL,
3802  DISCARD_PLANS,
3804  DISCARD_TEMP
@ DISCARD_ALL
Definition: parsenodes.h:3800
@ DISCARD_PLANS
Definition: parsenodes.h:3801
@ DISCARD_SEQUENCES
Definition: parsenodes.h:3802
@ DISCARD_TEMP
Definition: parsenodes.h:3803

◆ DropBehavior

Enumerator
DROP_RESTRICT 
DROP_CASCADE 

Definition at line 2206 of file parsenodes.h.

2208 {
2209  DROP_RESTRICT, /* drop fails if any dependent objects */
2210  DROP_CASCADE /* remove dependent objects too */
@ DROP_CASCADE
Definition: parsenodes.h:2209
@ DROP_RESTRICT
Definition: parsenodes.h:2208

◆ FetchDirection

Enumerator
FETCH_FORWARD 
FETCH_BACKWARD 
FETCH_ABSOLUTE 
FETCH_RELATIVE 

Definition at line 3203 of file parsenodes.h.

3205 {
3206  /* for these, howMany is how many rows to fetch; FETCH_ALL means ALL */
3207  FETCH_FORWARD,
3209  /* for these, howMany indicates a position; only one row is fetched */
@ FETCH_RELATIVE
Definition: parsenodes.h:3210
@ FETCH_ABSOLUTE
Definition: parsenodes.h:3209
@ FETCH_FORWARD
Definition: parsenodes.h:3206
@ FETCH_BACKWARD
Definition: parsenodes.h:3207

◆ FunctionParameterMode

Enumerator
FUNC_PARAM_IN 
FUNC_PARAM_OUT 
FUNC_PARAM_INOUT 
FUNC_PARAM_VARIADIC 
FUNC_PARAM_TABLE 
FUNC_PARAM_DEFAULT 

Definition at line 3326 of file parsenodes.h.

3328 {
3329  /* the assigned enum values appear in pg_proc, don't change 'em! */
3330  FUNC_PARAM_IN = 'i', /* input only */
3331  FUNC_PARAM_OUT = 'o', /* output only */
3332  FUNC_PARAM_INOUT = 'b', /* both */
3333  FUNC_PARAM_VARIADIC = 'v', /* variadic (always input) */
3334  FUNC_PARAM_TABLE = 't', /* table function output column */
3335  /* this is not used in pg_proc: */
3336  FUNC_PARAM_DEFAULT = 'd' /* default; effectively same as IN */
@ FUNC_PARAM_IN
Definition: parsenodes.h:3329
@ FUNC_PARAM_DEFAULT
Definition: parsenodes.h:3335
@ FUNC_PARAM_OUT
Definition: parsenodes.h:3330
@ FUNC_PARAM_INOUT
Definition: parsenodes.h:3331
@ FUNC_PARAM_TABLE
Definition: parsenodes.h:3333
@ FUNC_PARAM_VARIADIC
Definition: parsenodes.h:3332

◆ GrantTargetType

Enumerator
ACL_TARGET_OBJECT 
ACL_TARGET_ALL_IN_SCHEMA 
ACL_TARGET_DEFAULTS 

Definition at line 2364 of file parsenodes.h.

2366 {
2367  ACL_TARGET_OBJECT, /* grant on specific named object(s) */
2368  ACL_TARGET_ALL_IN_SCHEMA, /* grant on all objects in given schema(s) */
2369  ACL_TARGET_DEFAULTS /* ALTER DEFAULT PRIVILEGES */
@ ACL_TARGET_DEFAULTS
Definition: parsenodes.h:2368
@ ACL_TARGET_OBJECT
Definition: parsenodes.h:2366
@ ACL_TARGET_ALL_IN_SCHEMA
Definition: parsenodes.h:2367

◆ GroupingSetKind

Enumerator
GROUPING_SET_EMPTY 
GROUPING_SET_SIMPLE 
GROUPING_SET_ROLLUP 
GROUPING_SET_CUBE 
GROUPING_SET_SETS 

Definition at line 1363 of file parsenodes.h.

1365 {
@ GROUPING_SET_CUBE
Definition: parsenodes.h:1368
@ GROUPING_SET_SIMPLE
Definition: parsenodes.h:1366
@ GROUPING_SET_ROLLUP
Definition: parsenodes.h:1367
@ GROUPING_SET_SETS
Definition: parsenodes.h:1369
@ GROUPING_SET_EMPTY
Definition: parsenodes.h:1365

◆ ImportForeignSchemaType

Enumerator
FDW_IMPORT_SCHEMA_ALL 
FDW_IMPORT_SCHEMA_LIMIT_TO 
FDW_IMPORT_SCHEMA_EXCEPT 

Definition at line 2824 of file parsenodes.h.

2826 {
2827  FDW_IMPORT_SCHEMA_ALL, /* all relations wanted */
2828  FDW_IMPORT_SCHEMA_LIMIT_TO, /* include only listed tables in import */
2829  FDW_IMPORT_SCHEMA_EXCEPT /* exclude listed tables from import */
@ FDW_IMPORT_SCHEMA_LIMIT_TO
Definition: parsenodes.h:2827
@ FDW_IMPORT_SCHEMA_ALL
Definition: parsenodes.h:2826
@ FDW_IMPORT_SCHEMA_EXCEPT
Definition: parsenodes.h:2828

◆ JsonQuotes

enum JsonQuotes
Enumerator
JS_QUOTES_UNSPEC 
JS_QUOTES_KEEP 
JS_QUOTES_OMIT 

Definition at line 1604 of file parsenodes.h.

1606 {
1607  JS_QUOTES_UNSPEC, /* unspecified */
1608  JS_QUOTES_KEEP, /* KEEP QUOTES */
1609  JS_QUOTES_OMIT /* OMIT QUOTES */
@ JS_QUOTES_KEEP
Definition: parsenodes.h:1607
@ JS_QUOTES_UNSPEC
Definition: parsenodes.h:1606
@ JS_QUOTES_OMIT
Definition: parsenodes.h:1608

◆ JsonTableColumnType

Enumerator
JTC_FOR_ORDINALITY 
JTC_REGULAR 
JTC_EXISTS 
JTC_FORMATTED 
JTC_NESTED 

Definition at line 1615 of file parsenodes.h.

1617 {
1619  JTC_REGULAR,
1620  JTC_EXISTS,
1621  JTC_FORMATTED,
1622  JTC_NESTED,
@ JTC_FORMATTED
Definition: parsenodes.h:1620
@ JTC_FOR_ORDINALITY
Definition: parsenodes.h:1617
@ JTC_NESTED
Definition: parsenodes.h:1621
@ JTC_EXISTS
Definition: parsenodes.h:1619
@ JTC_REGULAR
Definition: parsenodes.h:1618

◆ JsonTablePlanJoinType

Enumerator
JSTPJ_INNER 
JSTPJ_OUTER 
JSTPJ_CROSS 
JSTPJ_UNION 

Definition at line 1713 of file parsenodes.h.

1715 {
1716  JSTPJ_INNER = 0x01,
1717  JSTPJ_OUTER = 0x02,
1718  JSTPJ_CROSS = 0x04,
1719  JSTPJ_UNION = 0x08,
@ JSTPJ_INNER
Definition: parsenodes.h:1715
@ JSTPJ_UNION
Definition: parsenodes.h:1718
@ JSTPJ_OUTER
Definition: parsenodes.h:1716
@ JSTPJ_CROSS
Definition: parsenodes.h:1717

◆ JsonTablePlanType

Enumerator
JSTP_DEFAULT 
JSTP_SIMPLE 
JSTP_JOINED 

Definition at line 1702 of file parsenodes.h.

1704 {
1705  JSTP_DEFAULT,
1706  JSTP_SIMPLE,
1707  JSTP_JOINED,
@ JSTP_JOINED
Definition: parsenodes.h:1706
@ JSTP_DEFAULT
Definition: parsenodes.h:1704
@ JSTP_SIMPLE
Definition: parsenodes.h:1705

◆ ObjectType

enum ObjectType
Enumerator
OBJECT_ACCESS_METHOD 
OBJECT_AGGREGATE 
OBJECT_AMOP 
OBJECT_AMPROC 
OBJECT_ATTRIBUTE 
OBJECT_CAST 
OBJECT_COLUMN 
OBJECT_COLLATION 
OBJECT_CONVERSION 
OBJECT_DATABASE 
OBJECT_DEFAULT 
OBJECT_DEFACL 
OBJECT_DOMAIN 
OBJECT_DOMCONSTRAINT 
OBJECT_EVENT_TRIGGER 
OBJECT_EXTENSION 
OBJECT_FDW 
OBJECT_FOREIGN_SERVER 
OBJECT_FOREIGN_TABLE 
OBJECT_FUNCTION 
OBJECT_INDEX 
OBJECT_LANGUAGE 
OBJECT_LARGEOBJECT 
OBJECT_MATVIEW 
OBJECT_OPCLASS 
OBJECT_OPERATOR 
OBJECT_OPFAMILY 
OBJECT_PARAMETER_ACL 
OBJECT_POLICY 
OBJECT_PROCEDURE 
OBJECT_PUBLICATION 
OBJECT_PUBLICATION_NAMESPACE 
OBJECT_PUBLICATION_REL 
OBJECT_ROLE 
OBJECT_ROUTINE 
OBJECT_RULE 
OBJECT_SCHEMA 
OBJECT_SEQUENCE 
OBJECT_SUBSCRIPTION 
OBJECT_STATISTIC_EXT 
OBJECT_TABCONSTRAINT 
OBJECT_TABLE 
OBJECT_TABLESPACE 
OBJECT_TRANSFORM 
OBJECT_TRIGGER 
OBJECT_TSCONFIGURATION 
OBJECT_TSDICTIONARY 
OBJECT_TSPARSER 
OBJECT_TSTEMPLATE 
OBJECT_TYPE 
OBJECT_USER_MAPPING 
OBJECT_VIEW 

Definition at line 2133 of file parsenodes.h.

2135 {
2138  OBJECT_AMOP,
2139  OBJECT_AMPROC,
2140  OBJECT_ATTRIBUTE, /* type's attribute, when distinct from column */
2141  OBJECT_CAST,
2142  OBJECT_COLUMN,
2147  OBJECT_DEFACL,
2148  OBJECT_DOMAIN,
2152  OBJECT_FDW,
2156  OBJECT_INDEX,
2164  OBJECT_POLICY,
2169  OBJECT_ROLE,
2171  OBJECT_RULE,
2172  OBJECT_SCHEMA,
2177  OBJECT_TABLE,
2185  OBJECT_TYPE,
2187  OBJECT_VIEW
@ OBJECT_EVENT_TRIGGER
Definition: parsenodes.h:2149
@ OBJECT_FDW
Definition: parsenodes.h:2151
@ OBJECT_TSPARSER
Definition: parsenodes.h:2182
@ OBJECT_COLLATION
Definition: parsenodes.h:2142
@ OBJECT_USER_MAPPING
Definition: parsenodes.h:2185
@ OBJECT_ACCESS_METHOD
Definition: parsenodes.h:2135
@ OBJECT_OPCLASS
Definition: parsenodes.h:2159
@ OBJECT_DEFACL
Definition: parsenodes.h:2146
@ OBJECT_AGGREGATE
Definition: parsenodes.h:2136
@ OBJECT_MATVIEW
Definition: parsenodes.h:2158
@ OBJECT_SCHEMA
Definition: parsenodes.h:2171
@ OBJECT_POLICY
Definition: parsenodes.h:2163
@ OBJECT_OPERATOR
Definition: parsenodes.h:2160
@ OBJECT_FOREIGN_TABLE
Definition: parsenodes.h:2153
@ OBJECT_TSCONFIGURATION
Definition: parsenodes.h:2180
@ OBJECT_OPFAMILY
Definition: parsenodes.h:2161
@ OBJECT_DOMAIN
Definition: parsenodes.h:2147
@ OBJECT_COLUMN
Definition: parsenodes.h:2141
@ OBJECT_TABLESPACE
Definition: parsenodes.h:2177
@ OBJECT_ROLE
Definition: parsenodes.h:2168
@ OBJECT_ROUTINE
Definition: parsenodes.h:2169
@ OBJECT_LARGEOBJECT
Definition: parsenodes.h:2157
@ OBJECT_PUBLICATION_NAMESPACE
Definition: parsenodes.h:2166
@ OBJECT_PROCEDURE
Definition: parsenodes.h:2164
@ OBJECT_EXTENSION
Definition: parsenodes.h:2150
@ OBJECT_INDEX
Definition: parsenodes.h:2155
@ OBJECT_DEFAULT
Definition: parsenodes.h:2145
@ OBJECT_DATABASE
Definition: parsenodes.h:2144
@ OBJECT_SEQUENCE
Definition: parsenodes.h:2172
@ OBJECT_TSTEMPLATE
Definition: parsenodes.h:2183
@ OBJECT_LANGUAGE
Definition: parsenodes.h:2156
@ OBJECT_AMOP
Definition: parsenodes.h:2137
@ OBJECT_PUBLICATION_REL
Definition: parsenodes.h:2167
@ OBJECT_FOREIGN_SERVER
Definition: parsenodes.h:2152
@ OBJECT_TSDICTIONARY
Definition: parsenodes.h:2181
@ OBJECT_ATTRIBUTE
Definition: parsenodes.h:2139
@ OBJECT_PUBLICATION
Definition: parsenodes.h:2165
@ OBJECT_RULE
Definition: parsenodes.h:2170
@ OBJECT_CONVERSION
Definition: parsenodes.h:2143
@ OBJECT_AMPROC
Definition: parsenodes.h:2138
@ OBJECT_TABLE
Definition: parsenodes.h:2176
@ OBJECT_VIEW
Definition: parsenodes.h:2186
@ OBJECT_PARAMETER_ACL
Definition: parsenodes.h:2162
@ OBJECT_TYPE
Definition: parsenodes.h:2184
@ OBJECT_FUNCTION
Definition: parsenodes.h:2154
@ OBJECT_TABCONSTRAINT
Definition: parsenodes.h:2175
@ OBJECT_DOMCONSTRAINT
Definition: parsenodes.h:2148
@ OBJECT_SUBSCRIPTION
Definition: parsenodes.h:2173
@ OBJECT_STATISTIC_EXT
Definition: parsenodes.h:2174
@ OBJECT_CAST
Definition: parsenodes.h:2140
@ OBJECT_TRIGGER
Definition: parsenodes.h:2179
@ OBJECT_TRANSFORM
Definition: parsenodes.h:2178

◆ OverridingKind

Enumerator
OVERRIDING_NOT_SET 
OVERRIDING_USER_VALUE 
OVERRIDING_SYSTEM_VALUE 

Definition at line 32 of file parsenodes.h.

33 {
OverridingKind
Definition: parsenodes.h:33
@ OVERRIDING_NOT_SET
Definition: parsenodes.h:34
@ OVERRIDING_SYSTEM_VALUE
Definition: parsenodes.h:36
@ OVERRIDING_USER_VALUE
Definition: parsenodes.h:35

◆ PartitionRangeDatumKind

Enumerator
PARTITION_RANGE_DATUM_MINVALUE 
PARTITION_RANGE_DATUM_VALUE 
PARTITION_RANGE_DATUM_MAXVALUE 

Definition at line 871 of file parsenodes.h.

873 {
874  PARTITION_RANGE_DATUM_MINVALUE = -1, /* less than any other value */
875  PARTITION_RANGE_DATUM_VALUE = 0, /* a specific (bounded) value */
876  PARTITION_RANGE_DATUM_MAXVALUE = 1 /* greater than any other value */
@ PARTITION_RANGE_DATUM_MAXVALUE
Definition: parsenodes.h:875
@ PARTITION_RANGE_DATUM_VALUE
Definition: parsenodes.h:874
@ PARTITION_RANGE_DATUM_MINVALUE
Definition: parsenodes.h:873

◆ PublicationObjSpecType

Enumerator
PUBLICATIONOBJ_TABLE 
PUBLICATIONOBJ_TABLES_IN_SCHEMA 
PUBLICATIONOBJ_TABLES_IN_CUR_SCHEMA 
PUBLICATIONOBJ_CONTINUATION 

Definition at line 4007 of file parsenodes.h.

4009 {
4010  PUBLICATIONOBJ_TABLE, /* A table */
4011  PUBLICATIONOBJ_TABLES_IN_SCHEMA, /* All tables in schema */
4012  PUBLICATIONOBJ_TABLES_IN_CUR_SCHEMA, /* All tables in first element of
4013  * search_path */
4014  PUBLICATIONOBJ_CONTINUATION /* Continuation of previous type */
@ PUBLICATIONOBJ_TABLES_IN_CUR_SCHEMA
Definition: parsenodes.h:4011
@ PUBLICATIONOBJ_TABLES_IN_SCHEMA
Definition: parsenodes.h:4010
@ PUBLICATIONOBJ_TABLE
Definition: parsenodes.h:4009
@ PUBLICATIONOBJ_CONTINUATION
Definition: parsenodes.h:4013

◆ 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.

41 {
42  QSRC_ORIGINAL, /* original parsetree (explicit query) */
43  QSRC_PARSER, /* added by parse analysis (now unused) */
44  QSRC_INSTEAD_RULE, /* added by unconditional INSTEAD rule */
45  QSRC_QUAL_INSTEAD_RULE, /* added by conditional INSTEAD rule */
46  QSRC_NON_INSTEAD_RULE /* added by non-INSTEAD rule */
47 } QuerySource;
QuerySource
Definition: parsenodes.h:41
@ QSRC_NON_INSTEAD_RULE
Definition: parsenodes.h:46
@ QSRC_PARSER
Definition: parsenodes.h:43
@ QSRC_QUAL_INSTEAD_RULE
Definition: parsenodes.h:45
@ QSRC_ORIGINAL
Definition: parsenodes.h:42
@ QSRC_INSTEAD_RULE
Definition: parsenodes.h:44

◆ ReindexObjectType

Enumerator
REINDEX_OBJECT_INDEX 
REINDEX_OBJECT_TABLE 
REINDEX_OBJECT_SCHEMA 
REINDEX_OBJECT_SYSTEM 
REINDEX_OBJECT_DATABASE 

Definition at line 3839 of file parsenodes.h.

3841 {
3842  REINDEX_OBJECT_INDEX, /* index */
3843  REINDEX_OBJECT_TABLE, /* table or materialized view */
3844  REINDEX_OBJECT_SCHEMA, /* schema */
3845  REINDEX_OBJECT_SYSTEM, /* system catalogs */
3846  REINDEX_OBJECT_DATABASE /* database */
@ REINDEX_OBJECT_DATABASE
Definition: parsenodes.h:3845
@ REINDEX_OBJECT_INDEX
Definition: parsenodes.h:3841
@ REINDEX_OBJECT_SCHEMA
Definition: parsenodes.h:3843
@ REINDEX_OBJECT_SYSTEM
Definition: parsenodes.h:3844
@ REINDEX_OBJECT_TABLE
Definition: parsenodes.h:3842

◆ RoleSpecType

Enumerator
ROLESPEC_CSTRING 
ROLESPEC_CURRENT_ROLE 
ROLESPEC_CURRENT_USER 
ROLESPEC_SESSION_USER 
ROLESPEC_PUBLIC 

Definition at line 347 of file parsenodes.h.

349 {
350  ROLESPEC_CSTRING, /* role name is stored as a C string */
351  ROLESPEC_CURRENT_ROLE, /* role spec is CURRENT_ROLE */
352  ROLESPEC_CURRENT_USER, /* role spec is CURRENT_USER */
353  ROLESPEC_SESSION_USER, /* role spec is SESSION_USER */
354  ROLESPEC_PUBLIC /* role name is "public" */
@ ROLESPEC_CURRENT_USER
Definition: parsenodes.h:351
@ ROLESPEC_CSTRING
Definition: parsenodes.h:349
@ ROLESPEC_SESSION_USER
Definition: parsenodes.h:352
@ ROLESPEC_CURRENT_ROLE
Definition: parsenodes.h:350
@ ROLESPEC_PUBLIC
Definition: parsenodes.h:353

◆ RoleStmtType

Enumerator
ROLESTMT_ROLE 
ROLESTMT_USER 
ROLESTMT_GROUP 

Definition at line 2961 of file parsenodes.h.

2963 {
2964  ROLESTMT_ROLE,
2965  ROLESTMT_USER,
@ ROLESTMT_ROLE
Definition: parsenodes.h:2963
@ ROLESTMT_USER
Definition: parsenodes.h:2964
@ ROLESTMT_GROUP
Definition: parsenodes.h:2965

◆ RTEKind

enum RTEKind
Enumerator
RTE_RELATION 
RTE_SUBQUERY 
RTE_JOIN 
RTE_FUNCTION 
RTE_TABLEFUNC 
RTE_VALUES 
RTE_CTE 
RTE_NAMEDTUPLESTORE 
RTE_RESULT 

Definition at line 997 of file parsenodes.h.

999 {
1000  RTE_RELATION, /* ordinary relation reference */
1001  RTE_SUBQUERY, /* subquery in FROM */
1002  RTE_JOIN, /* join */
1003  RTE_FUNCTION, /* function in FROM */
1004  RTE_TABLEFUNC, /* TableFunc(.., column list) */
1005  RTE_VALUES, /* VALUES (<exprlist>), (<exprlist>), ... */
1006  RTE_CTE, /* common table expr (WITH list element) */
1007  RTE_NAMEDTUPLESTORE, /* tuplestore, e.g. for AFTER triggers */
1008  RTE_RESULT /* RTE represents an empty FROM clause; such
1009  * RTEs are added by the planner, they're not
1010  * present during parsing or rewriting */
@ RTE_JOIN
Definition: parsenodes.h:1001
@ RTE_CTE
Definition: parsenodes.h:1005
@ RTE_NAMEDTUPLESTORE
Definition: parsenodes.h:1006
@ RTE_VALUES
Definition: parsenodes.h:1004
@ RTE_SUBQUERY
Definition: parsenodes.h:1000
@ RTE_RESULT
Definition: parsenodes.h:1007
@ RTE_FUNCTION
Definition: parsenodes.h:1002
@ RTE_TABLEFUNC
Definition: parsenodes.h:1003
@ RTE_RELATION
Definition: parsenodes.h:999

◆ SetOperation

Enumerator
SETOP_NONE 
SETOP_UNION 
SETOP_INTERSECT 
SETOP_EXCEPT 

Definition at line 1989 of file parsenodes.h.

1991 {
1992  SETOP_NONE = 0,
1993  SETOP_UNION,
1995  SETOP_EXCEPT
@ SETOP_INTERSECT
Definition: parsenodes.h:1993
@ SETOP_UNION
Definition: parsenodes.h:1992
@ SETOP_EXCEPT
Definition: parsenodes.h:1994
@ SETOP_NONE
Definition: parsenodes.h:1991

◆ SetQuantifier

Enumerator
SET_QUANTIFIER_DEFAULT 
SET_QUANTIFIER_ALL 
SET_QUANTIFIER_DISTINCT 

Definition at line 66 of file parsenodes.h.

67 {
SetQuantifier
Definition: parsenodes.h:67
@ SET_QUANTIFIER_ALL
Definition: parsenodes.h:69
@ SET_QUANTIFIER_DISTINCT
Definition: parsenodes.h:70
@ SET_QUANTIFIER_DEFAULT
Definition: parsenodes.h:68

◆ SortByDir

enum SortByDir
Enumerator
SORTBY_DEFAULT 
SORTBY_ASC 
SORTBY_DESC 
SORTBY_USING 

Definition at line 50 of file parsenodes.h.

51 {
53  SORTBY_ASC,
55  SORTBY_USING /* not allowed in CREATE INDEX ... */
56 } SortByDir;
SortByDir
Definition: parsenodes.h:51
@ SORTBY_USING
Definition: parsenodes.h:55
@ SORTBY_DESC
Definition: parsenodes.h:54
@ SORTBY_ASC
Definition: parsenodes.h:53
@ SORTBY_DEFAULT
Definition: parsenodes.h:52

◆ SortByNulls

Enumerator
SORTBY_NULLS_DEFAULT 
SORTBY_NULLS_FIRST 
SORTBY_NULLS_LAST 

Definition at line 58 of file parsenodes.h.

59 {
63 } SortByNulls;
SortByNulls
Definition: parsenodes.h:59
@ SORTBY_NULLS_DEFAULT
Definition: parsenodes.h:60
@ SORTBY_NULLS_LAST
Definition: parsenodes.h:62
@ SORTBY_NULLS_FIRST
Definition: parsenodes.h:61

◆ TableLikeOption

Enumerator
CREATE_TABLE_LIKE_COMMENTS 
CREATE_TABLE_LIKE_COMPRESSION 
CREATE_TABLE_LIKE_CONSTRAINTS 
CREATE_TABLE_LIKE_DEFAULTS 
CREATE_TABLE_LIKE_GENERATED 
CREATE_TABLE_LIKE_IDENTITY 
CREATE_TABLE_LIKE_INDEXES 
CREATE_TABLE_LIKE_STATISTICS 
CREATE_TABLE_LIKE_STORAGE 
CREATE_TABLE_LIKE_ALL 

Definition at line 710 of file parsenodes.h.

712 {
719  CREATE_TABLE_LIKE_INDEXES = 1 << 6,
721  CREATE_TABLE_LIKE_STORAGE = 1 << 8,
#define PG_INT32_MAX
Definition: c.h:535
@ CREATE_TABLE_LIKE_COMMENTS
Definition: parsenodes.h:712
@ CREATE_TABLE_LIKE_GENERATED
Definition: parsenodes.h:716
@ CREATE_TABLE_LIKE_IDENTITY
Definition: parsenodes.h:717
@ CREATE_TABLE_LIKE_COMPRESSION
Definition: parsenodes.h:713
@ CREATE_TABLE_LIKE_STORAGE
Definition: parsenodes.h:720
@ CREATE_TABLE_LIKE_ALL
Definition: parsenodes.h:721
@ CREATE_TABLE_LIKE_INDEXES
Definition: parsenodes.h:718
@ CREATE_TABLE_LIKE_DEFAULTS
Definition: parsenodes.h:715
@ CREATE_TABLE_LIKE_STATISTICS
Definition: parsenodes.h:719
@ CREATE_TABLE_LIKE_CONSTRAINTS
Definition: parsenodes.h:714

◆ TransactionStmtKind

Enumerator
TRANS_STMT_BEGIN 
TRANS_STMT_START 
TRANS_STMT_COMMIT 
TRANS_STMT_ROLLBACK 
TRANS_STMT_SAVEPOINT 
TRANS_STMT_RELEASE 
TRANS_STMT_ROLLBACK_TO 
TRANS_STMT_PREPARE 
TRANS_STMT_COMMIT_PREPARED 
TRANS_STMT_ROLLBACK_PREPARED 

Definition at line 3531 of file parsenodes.h.

3533 {
3535  TRANS_STMT_START, /* semantically identical to BEGIN */
@ TRANS_STMT_ROLLBACK_TO
Definition: parsenodes.h:3539
@ TRANS_STMT_START
Definition: parsenodes.h:3534
@ TRANS_STMT_SAVEPOINT
Definition: parsenodes.h:3537
@ TRANS_STMT_BEGIN
Definition: parsenodes.h:3533
@ TRANS_STMT_ROLLBACK
Definition: parsenodes.h:3536
@ TRANS_STMT_COMMIT_PREPARED
Definition: parsenodes.h:3541
@ TRANS_STMT_COMMIT
Definition: parsenodes.h:3535
@ TRANS_STMT_ROLLBACK_PREPARED
Definition: parsenodes.h:3542
@ TRANS_STMT_PREPARE
Definition: parsenodes.h:3540
@ TRANS_STMT_RELEASE
Definition: parsenodes.h:3538

◆ VariableSetKind

Enumerator
VAR_SET_VALUE 
VAR_SET_DEFAULT 
VAR_SET_CURRENT 
VAR_SET_MULTI 
VAR_RESET 
VAR_RESET_ALL 

Definition at line 2488 of file parsenodes.h.

2490 {
2491  VAR_SET_VALUE, /* SET var = value */
2492  VAR_SET_DEFAULT, /* SET var TO DEFAULT */
2493  VAR_SET_CURRENT, /* SET var FROM CURRENT */
2494  VAR_SET_MULTI, /* special case for SET TRANSACTION ... */
2495  VAR_RESET, /* RESET var */
2496  VAR_RESET_ALL /* RESET ALL */
@ VAR_SET_DEFAULT
Definition: parsenodes.h:2491
@ VAR_RESET
Definition: parsenodes.h:2494
@ VAR_SET_MULTI
Definition: parsenodes.h:2493
@ VAR_SET_VALUE
Definition: parsenodes.h:2490
@ VAR_SET_CURRENT
Definition: parsenodes.h:2492
@ VAR_RESET_ALL
Definition: parsenodes.h:2495

◆ ViewCheckOption

Enumerator
NO_CHECK_OPTION 
LOCAL_CHECK_OPTION 
CASCADED_CHECK_OPTION 

Definition at line 3607 of file parsenodes.h.

3609 {
@ NO_CHECK_OPTION
Definition: parsenodes.h:3609
@ CASCADED_CHECK_OPTION
Definition: parsenodes.h:3611
@ LOCAL_CHECK_OPTION
Definition: parsenodes.h:3610

◆ WCOKind

enum WCOKind
Enumerator
WCO_VIEW_CHECK 
WCO_RLS_INSERT_CHECK 
WCO_RLS_UPDATE_CHECK 
WCO_RLS_CONFLICT_CHECK 
WCO_RLS_MERGE_UPDATE_CHECK 
WCO_RLS_MERGE_DELETE_CHECK 

Definition at line 1225 of file parsenodes.h.

1227 {
1228  WCO_VIEW_CHECK, /* WCO on an auto-updatable view */
1229  WCO_RLS_INSERT_CHECK, /* RLS INSERT WITH CHECK policy */
1230  WCO_RLS_UPDATE_CHECK, /* RLS UPDATE WITH CHECK policy */
1231  WCO_RLS_CONFLICT_CHECK, /* RLS ON CONFLICT DO UPDATE USING policy */
1232  WCO_RLS_MERGE_UPDATE_CHECK, /* RLS MERGE UPDATE USING policy */
1233  WCO_RLS_MERGE_DELETE_CHECK /* RLS MERGE DELETE USING policy */
@ WCO_RLS_MERGE_UPDATE_CHECK
Definition: parsenodes.h:1231
@ WCO_RLS_CONFLICT_CHECK
Definition: parsenodes.h:1230
@ WCO_RLS_INSERT_CHECK
Definition: parsenodes.h:1228
@ WCO_VIEW_CHECK
Definition: parsenodes.h:1227
@ WCO_RLS_UPDATE_CHECK
Definition: parsenodes.h:1229
@ WCO_RLS_MERGE_DELETE_CHECK
Definition: parsenodes.h:1232