PostgreSQL Source Code  git master
parsenodes.h File Reference
#include "common/relpath.h"
#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
 
union  ValUnion
 
struct  A_Const
 
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  SinglePartitionSpec
 
struct  PartitionCmd
 
struct  RangeTblEntry
 
struct  RTEPermissionInfo
 
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  TriggerTransition
 
struct  JsonOutput
 
struct  JsonArgument
 
struct  JsonFuncExpr
 
struct  JsonTablePathSpec
 
struct  JsonTable
 
struct  JsonTableColumn
 
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   (1<<8) /* for various object types */
 
#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 ACL_MAINTAIN   (1<<14) /* for relations */
 
#define N_ACL_RIGHTS   15 /* 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 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 QuerySource QuerySource
 
typedef enum SortByDir SortByDir
 
typedef enum SortByNulls SortByNulls
 
typedef enum SetQuantifier SetQuantifier
 
typedef uint64 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 enum PartitionStrategy PartitionStrategy
 
typedef struct PartitionSpec PartitionSpec
 
typedef enum PartitionRangeDatumKind PartitionRangeDatumKind
 
typedef struct PartitionRangeDatum PartitionRangeDatum
 
typedef struct SinglePartitionSpec SinglePartitionSpec
 
typedef struct PartitionCmd PartitionCmd
 
typedef enum RTEKind RTEKind
 
typedef struct RangeTblEntry RangeTblEntry
 
typedef struct RTEPermissionInfo RTEPermissionInfo
 
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 TriggerTransition TriggerTransition
 
typedef struct JsonOutput JsonOutput
 
typedef struct JsonArgument JsonArgument
 
typedef enum JsonQuotes JsonQuotes
 
typedef struct JsonFuncExpr JsonFuncExpr
 
typedef struct JsonTablePathSpec JsonTablePathSpec
 
typedef struct JsonTable JsonTable
 
typedef enum JsonTableColumnType JsonTableColumnType
 
typedef struct JsonTableColumn JsonTableColumn
 
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  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  PartitionStrategy { PARTITION_STRATEGY_LIST = 'l' , PARTITION_STRATEGY_RANGE = 'r' , PARTITION_STRATEGY_HASH = 'h' }
 
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  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_AddColumnToView , AT_ColumnDefault , AT_CookedColumnDefault ,
  AT_DropNotNull , AT_SetNotNull , AT_SetAttNotNull , AT_SetExpression ,
  AT_DropExpression , AT_SetStatistics , AT_SetOptions , AT_ResetOptions ,
  AT_SetStorage , AT_SetCompression , AT_DropColumn , AT_AddIndex ,
  AT_ReAddIndex , AT_AddConstraint , AT_ReAddConstraint , AT_ReAddDomainConstraint ,
  AT_AlterConstraint , AT_ValidateConstraint , AT_AddIndexConstraint , AT_DropConstraint ,
  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_SplitPartition ,
  AT_MergePartitions , 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 89 of file parsenodes.h.

◆ ACL_CONNECT

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

Definition at line 87 of file parsenodes.h.

◆ ACL_CREATE

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

Definition at line 85 of file parsenodes.h.

◆ ACL_CREATE_TEMP

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

Definition at line 86 of file parsenodes.h.

◆ ACL_DELETE

#define ACL_DELETE   (1<<3)

Definition at line 79 of file parsenodes.h.

◆ ACL_EXECUTE

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

Definition at line 83 of file parsenodes.h.

◆ ACL_INSERT

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

Definition at line 76 of file parsenodes.h.

◆ ACL_MAINTAIN

#define ACL_MAINTAIN   (1<<14) /* for relations */

Definition at line 90 of file parsenodes.h.

◆ ACL_NO_RIGHTS

#define ACL_NO_RIGHTS   0

Definition at line 92 of file parsenodes.h.

◆ ACL_REFERENCES

#define ACL_REFERENCES   (1<<5)

Definition at line 81 of file parsenodes.h.

◆ ACL_SELECT

#define ACL_SELECT   (1<<1)

Definition at line 77 of file parsenodes.h.

◆ ACL_SELECT_FOR_UPDATE

#define ACL_SELECT_FOR_UPDATE   ACL_UPDATE

Definition at line 94 of file parsenodes.h.

◆ ACL_SET

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

Definition at line 88 of file parsenodes.h.

◆ ACL_TRIGGER

#define ACL_TRIGGER   (1<<6)

Definition at line 82 of file parsenodes.h.

◆ ACL_TRUNCATE

#define ACL_TRUNCATE   (1<<4)

Definition at line 80 of file parsenodes.h.

◆ ACL_UPDATE

#define ACL_UPDATE   (1<<2)

Definition at line 78 of file parsenodes.h.

◆ ACL_USAGE

#define ACL_USAGE   (1<<8) /* for various object types */

Definition at line 84 of file parsenodes.h.

◆ CURSOR_OPT_ASENSITIVE

#define CURSOR_OPT_ASENSITIVE   0x0010 /* ASENSITIVE */

Definition at line 3294 of file parsenodes.h.

◆ CURSOR_OPT_BINARY

#define CURSOR_OPT_BINARY   0x0001 /* BINARY */

Definition at line 3290 of file parsenodes.h.

◆ CURSOR_OPT_CUSTOM_PLAN

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

Definition at line 3299 of file parsenodes.h.

◆ CURSOR_OPT_FAST_PLAN

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

Definition at line 3297 of file parsenodes.h.

◆ CURSOR_OPT_GENERIC_PLAN

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

Definition at line 3298 of file parsenodes.h.

◆ CURSOR_OPT_HOLD

#define CURSOR_OPT_HOLD   0x0020 /* WITH HOLD */

Definition at line 3295 of file parsenodes.h.

◆ CURSOR_OPT_INSENSITIVE

#define CURSOR_OPT_INSENSITIVE   0x0008 /* INSENSITIVE */

Definition at line 3293 of file parsenodes.h.

◆ CURSOR_OPT_NO_SCROLL

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

Definition at line 3292 of file parsenodes.h.

◆ CURSOR_OPT_PARALLEL_OK

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

Definition at line 3300 of file parsenodes.h.

◆ CURSOR_OPT_SCROLL

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

Definition at line 3291 of file parsenodes.h.

◆ FETCH_ALL

#define FETCH_ALL   LONG_MAX

Definition at line 3335 of file parsenodes.h.

◆ FKCONSTR_ACTION_CASCADE

#define FKCONSTR_ACTION_CASCADE   'c'

Definition at line 2725 of file parsenodes.h.

◆ FKCONSTR_ACTION_NOACTION

#define FKCONSTR_ACTION_NOACTION   'a'

Definition at line 2723 of file parsenodes.h.

◆ FKCONSTR_ACTION_RESTRICT

#define FKCONSTR_ACTION_RESTRICT   'r'

Definition at line 2724 of file parsenodes.h.

◆ FKCONSTR_ACTION_SETDEFAULT

#define FKCONSTR_ACTION_SETDEFAULT   'd'

Definition at line 2727 of file parsenodes.h.

◆ FKCONSTR_ACTION_SETNULL

#define FKCONSTR_ACTION_SETNULL   'n'

Definition at line 2726 of file parsenodes.h.

◆ FKCONSTR_MATCH_FULL

#define FKCONSTR_MATCH_FULL   'f'

Definition at line 2730 of file parsenodes.h.

◆ FKCONSTR_MATCH_PARTIAL

#define FKCONSTR_MATCH_PARTIAL   'p'

Definition at line 2731 of file parsenodes.h.

◆ FKCONSTR_MATCH_SIMPLE

#define FKCONSTR_MATCH_SIMPLE   's'

Definition at line 2732 of file parsenodes.h.

◆ FRAMEOPTION_BETWEEN

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

Definition at line 585 of file parsenodes.h.

◆ FRAMEOPTION_DEFAULTS

#define FRAMEOPTION_DEFAULTS
Value:
FRAMEOPTION_END_CURRENT_ROW)
#define FRAMEOPTION_START_UNBOUNDED_PRECEDING
Definition: parsenodes.h:586
#define FRAMEOPTION_RANGE
Definition: parsenodes.h:582

Definition at line 608 of file parsenodes.h.

◆ FRAMEOPTION_END_CURRENT_ROW

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

Definition at line 591 of file parsenodes.h.

◆ FRAMEOPTION_END_OFFSET

#define FRAMEOPTION_END_OFFSET    (FRAMEOPTION_END_OFFSET_PRECEDING | FRAMEOPTION_END_OFFSET_FOLLOWING)

Definition at line 602 of file parsenodes.h.

◆ FRAMEOPTION_END_OFFSET_FOLLOWING

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

Definition at line 595 of file parsenodes.h.

◆ FRAMEOPTION_END_OFFSET_PRECEDING

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

Definition at line 593 of file parsenodes.h.

◆ FRAMEOPTION_END_UNBOUNDED_FOLLOWING

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

Definition at line 589 of file parsenodes.h.

◆ FRAMEOPTION_END_UNBOUNDED_PRECEDING

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

Definition at line 587 of file parsenodes.h.

◆ FRAMEOPTION_EXCLUDE_CURRENT_ROW

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

Definition at line 596 of file parsenodes.h.

◆ FRAMEOPTION_EXCLUDE_GROUP

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

Definition at line 597 of file parsenodes.h.

◆ FRAMEOPTION_EXCLUDE_TIES

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

Definition at line 598 of file parsenodes.h.

◆ FRAMEOPTION_EXCLUSION

#define FRAMEOPTION_EXCLUSION
Value:
FRAMEOPTION_EXCLUDE_TIES)
#define FRAMEOPTION_EXCLUDE_CURRENT_ROW
Definition: parsenodes.h:596
#define FRAMEOPTION_EXCLUDE_GROUP
Definition: parsenodes.h:597

Definition at line 604 of file parsenodes.h.

◆ FRAMEOPTION_GROUPS

#define FRAMEOPTION_GROUPS   0x00008 /* GROUPS behavior */

Definition at line 584 of file parsenodes.h.

◆ FRAMEOPTION_NONDEFAULT

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

Definition at line 581 of file parsenodes.h.

◆ FRAMEOPTION_RANGE

#define FRAMEOPTION_RANGE   0x00002 /* RANGE behavior */

Definition at line 582 of file parsenodes.h.

◆ FRAMEOPTION_ROWS

#define FRAMEOPTION_ROWS   0x00004 /* ROWS behavior */

Definition at line 583 of file parsenodes.h.

◆ FRAMEOPTION_START_CURRENT_ROW

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

Definition at line 590 of file parsenodes.h.

◆ FRAMEOPTION_START_OFFSET

#define FRAMEOPTION_START_OFFSET    (FRAMEOPTION_START_OFFSET_PRECEDING | FRAMEOPTION_START_OFFSET_FOLLOWING)

Definition at line 600 of file parsenodes.h.

◆ FRAMEOPTION_START_OFFSET_FOLLOWING

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

Definition at line 594 of file parsenodes.h.

◆ FRAMEOPTION_START_OFFSET_PRECEDING

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

Definition at line 592 of file parsenodes.h.

◆ FRAMEOPTION_START_UNBOUNDED_FOLLOWING

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

Definition at line 588 of file parsenodes.h.

◆ FRAMEOPTION_START_UNBOUNDED_PRECEDING

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

Definition at line 586 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:859
#define IsA(nodeptr, _type_)
Definition: nodes.h:158
@ CMD_SELECT
Definition: nodes.h:265

Definition at line 1710 of file parsenodes.h.

◆ N_ACL_RIGHTS

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

Definition at line 91 of file parsenodes.h.

◆ OPCLASS_ITEM_FUNCTION

#define OPCLASS_ITEM_FUNCTION   2

Definition at line 3190 of file parsenodes.h.

◆ OPCLASS_ITEM_OPERATOR

#define OPCLASS_ITEM_OPERATOR   1

Definition at line 3189 of file parsenodes.h.

◆ OPCLASS_ITEM_STORAGETYPE

#define OPCLASS_ITEM_STORAGETYPE   3

Definition at line 3191 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 uint64 AclMode

Definition at line 74 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

◆ 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

◆ JsonTablePathSpec

◆ ListenStmt

typedef struct ListenStmt ListenStmt

◆ LoadStmt

typedef struct LoadStmt LoadStmt

◆ LockingClause

typedef struct LockingClause LockingClause

◆ LockStmt

typedef struct LockStmt LockStmt

◆ MergeStmt

typedef struct MergeStmt MergeStmt

◆ MergeWhenClause

◆ MultiAssignRef

◆ NotifyStmt

typedef struct NotifyStmt NotifyStmt

◆ ObjectType

typedef enum ObjectType ObjectType

◆ ObjectWithArgs

◆ OnConflictClause

◆ ParamRef

typedef struct ParamRef ParamRef

◆ PartitionCmd

typedef struct PartitionCmd PartitionCmd

◆ PartitionElem

typedef struct PartitionElem PartitionElem

◆ PartitionRangeDatum

◆ PartitionRangeDatumKind

◆ PartitionSpec

typedef struct PartitionSpec PartitionSpec

◆ PartitionStrategy

◆ 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

◆ RTEPermissionInfo

◆ RuleStmt

typedef struct RuleStmt RuleStmt

◆ SecLabelStmt

typedef struct SecLabelStmt SecLabelStmt

◆ SelectStmt

typedef struct SelectStmt SelectStmt

◆ SetOperation

typedef enum SetOperation SetOperation

◆ SetOperationStmt

◆ SetQuantifier

◆ SinglePartitionSpec

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

312 {
313  AEXPR_OP, /* normal operator */
314  AEXPR_OP_ANY, /* scalar op ANY (array) */
315  AEXPR_OP_ALL, /* scalar op ALL (array) */
316  AEXPR_DISTINCT, /* IS DISTINCT FROM - name must be "=" */
317  AEXPR_NOT_DISTINCT, /* IS NOT DISTINCT FROM - name must be "=" */
318  AEXPR_NULLIF, /* NULLIF - name must be "=" */
319  AEXPR_IN, /* [NOT] IN - name must be "=" or "<>" */
320  AEXPR_LIKE, /* [NOT] LIKE - name must be "~~" or "!~~" */
321  AEXPR_ILIKE, /* [NOT] ILIKE - name must be "~~*" or "!~~*" */
322  AEXPR_SIMILAR, /* [NOT] SIMILAR - name must be "~" or "!~" */
323  AEXPR_BETWEEN, /* name must be "BETWEEN" */
324  AEXPR_NOT_BETWEEN, /* name must be "NOT BETWEEN" */
325  AEXPR_BETWEEN_SYM, /* name must be "BETWEEN SYMMETRIC" */
326  AEXPR_NOT_BETWEEN_SYM, /* name must be "NOT BETWEEN SYMMETRIC" */
327 } A_Expr_Kind;
A_Expr_Kind
Definition: parsenodes.h:312
@ AEXPR_BETWEEN
Definition: parsenodes.h:323
@ AEXPR_NULLIF
Definition: parsenodes.h:318
@ AEXPR_NOT_DISTINCT
Definition: parsenodes.h:317
@ AEXPR_BETWEEN_SYM
Definition: parsenodes.h:325
@ AEXPR_NOT_BETWEEN_SYM
Definition: parsenodes.h:326
@ AEXPR_ILIKE
Definition: parsenodes.h:321
@ AEXPR_IN
Definition: parsenodes.h:319
@ AEXPR_NOT_BETWEEN
Definition: parsenodes.h:324
@ AEXPR_DISTINCT
Definition: parsenodes.h:316
@ AEXPR_SIMILAR
Definition: parsenodes.h:322
@ AEXPR_LIKE
Definition: parsenodes.h:320
@ AEXPR_OP
Definition: parsenodes.h:313
@ AEXPR_OP_ANY
Definition: parsenodes.h:314
@ AEXPR_OP_ALL
Definition: parsenodes.h:315

◆ AlterPublicationAction

Enumerator
AP_AddObjects 
AP_DropObjects 
AP_SetObjects 

Definition at line 4174 of file parsenodes.h.

4175 {
4176  AP_AddObjects, /* add objects to publication */
4177  AP_DropObjects, /* remove objects from publication */
4178  AP_SetObjects, /* set list of objects */
AlterPublicationAction
Definition: parsenodes.h:4175
@ AP_DropObjects
Definition: parsenodes.h:4177
@ AP_SetObjects
Definition: parsenodes.h:4178
@ AP_AddObjects
Definition: parsenodes.h:4176

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

4209 {
AlterSubscriptionType
Definition: parsenodes.h:4209
@ ALTER_SUBSCRIPTION_ENABLED
Definition: parsenodes.h:4216
@ ALTER_SUBSCRIPTION_DROP_PUBLICATION
Definition: parsenodes.h:4214
@ ALTER_SUBSCRIPTION_SET_PUBLICATION
Definition: parsenodes.h:4212
@ ALTER_SUBSCRIPTION_REFRESH
Definition: parsenodes.h:4215
@ ALTER_SUBSCRIPTION_SKIP
Definition: parsenodes.h:4217
@ ALTER_SUBSCRIPTION_OPTIONS
Definition: parsenodes.h:4210
@ ALTER_SUBSCRIPTION_CONNECTION
Definition: parsenodes.h:4211
@ ALTER_SUBSCRIPTION_ADD_PUBLICATION
Definition: parsenodes.h:4213

◆ AlterTableType

Enumerator
AT_AddColumn 
AT_AddColumnToView 
AT_ColumnDefault 
AT_CookedColumnDefault 
AT_DropNotNull 
AT_SetNotNull 
AT_SetAttNotNull 
AT_SetExpression 
AT_DropExpression 
AT_SetStatistics 
AT_SetOptions 
AT_ResetOptions 
AT_SetStorage 
AT_SetCompression 
AT_DropColumn 
AT_AddIndex 
AT_ReAddIndex 
AT_AddConstraint 
AT_ReAddConstraint 
AT_ReAddDomainConstraint 
AT_AlterConstraint 
AT_ValidateConstraint 
AT_AddIndexConstraint 
AT_DropConstraint 
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_SplitPartition 
AT_MergePartitions 
AT_AddIdentity 
AT_SetIdentity 
AT_DropIdentity 
AT_ReAddStatistics 

Definition at line 2351 of file parsenodes.h.

2352 {
2353  AT_AddColumn, /* add column */
2354  AT_AddColumnToView, /* implicitly via CREATE OR REPLACE VIEW */
2355  AT_ColumnDefault, /* alter column default */
2356  AT_CookedColumnDefault, /* add a pre-cooked column default */
2357  AT_DropNotNull, /* alter column drop not null */
2358  AT_SetNotNull, /* alter column set not null */
2359  AT_SetAttNotNull, /* set attnotnull w/o a constraint */
2360  AT_SetExpression, /* alter column set expression */
2361  AT_DropExpression, /* alter column drop expression */
2362  AT_SetStatistics, /* alter column set statistics */
2363  AT_SetOptions, /* alter column set ( options ) */
2364  AT_ResetOptions, /* alter column reset ( options ) */
2365  AT_SetStorage, /* alter column set storage */
2366  AT_SetCompression, /* alter column set compression */
2367  AT_DropColumn, /* drop column */
2368  AT_AddIndex, /* add index */
2369  AT_ReAddIndex, /* internal to commands/tablecmds.c */
2370  AT_AddConstraint, /* add constraint */
2371  AT_ReAddConstraint, /* internal to commands/tablecmds.c */
2372  AT_ReAddDomainConstraint, /* internal to commands/tablecmds.c */
2373  AT_AlterConstraint, /* alter constraint */
2374  AT_ValidateConstraint, /* validate constraint */
2375  AT_AddIndexConstraint, /* add constraint using existing index */
2376  AT_DropConstraint, /* drop constraint */
2377  AT_ReAddComment, /* internal to commands/tablecmds.c */
2378  AT_AlterColumnType, /* alter column type */
2379  AT_AlterColumnGenericOptions, /* alter column OPTIONS (...) */
2380  AT_ChangeOwner, /* change owner */
2381  AT_ClusterOn, /* CLUSTER ON */
2382  AT_DropCluster, /* SET WITHOUT CLUSTER */
2383  AT_SetLogged, /* SET LOGGED */
2384  AT_SetUnLogged, /* SET UNLOGGED */
2385  AT_DropOids, /* SET WITHOUT OIDS */
2386  AT_SetAccessMethod, /* SET ACCESS METHOD */
2387  AT_SetTableSpace, /* SET TABLESPACE */
2388  AT_SetRelOptions, /* SET (...) -- AM specific parameters */
2389  AT_ResetRelOptions, /* RESET (...) -- AM specific parameters */
2390  AT_ReplaceRelOptions, /* replace reloption list in its entirety */
2391  AT_EnableTrig, /* ENABLE TRIGGER name */
2392  AT_EnableAlwaysTrig, /* ENABLE ALWAYS TRIGGER name */
2393  AT_EnableReplicaTrig, /* ENABLE REPLICA TRIGGER name */
2394  AT_DisableTrig, /* DISABLE TRIGGER name */
2395  AT_EnableTrigAll, /* ENABLE TRIGGER ALL */
2396  AT_DisableTrigAll, /* DISABLE TRIGGER ALL */
2397  AT_EnableTrigUser, /* ENABLE TRIGGER USER */
2398  AT_DisableTrigUser, /* DISABLE TRIGGER USER */
2399  AT_EnableRule, /* ENABLE RULE name */
2400  AT_EnableAlwaysRule, /* ENABLE ALWAYS RULE name */
2401  AT_EnableReplicaRule, /* ENABLE REPLICA RULE name */
2402  AT_DisableRule, /* DISABLE RULE name */
2403  AT_AddInherit, /* INHERIT parent */
2404  AT_DropInherit, /* NO INHERIT parent */
2405  AT_AddOf, /* OF <type_name> */
2406  AT_DropOf, /* NOT OF */
2407  AT_ReplicaIdentity, /* REPLICA IDENTITY */
2408  AT_EnableRowSecurity, /* ENABLE ROW SECURITY */
2409  AT_DisableRowSecurity, /* DISABLE ROW SECURITY */
2410  AT_ForceRowSecurity, /* FORCE ROW SECURITY */
2411  AT_NoForceRowSecurity, /* NO FORCE ROW SECURITY */
2412  AT_GenericOptions, /* OPTIONS (...) */
2413  AT_AttachPartition, /* ATTACH PARTITION */
2414  AT_DetachPartition, /* DETACH PARTITION */
2415  AT_DetachPartitionFinalize, /* DETACH PARTITION FINALIZE */
2416  AT_SplitPartition, /* SPLIT PARTITION */
2417  AT_MergePartitions, /* MERGE PARTITIONS */
2418  AT_AddIdentity, /* ADD IDENTITY */
2419  AT_SetIdentity, /* SET identity column options */
2420  AT_DropIdentity, /* DROP IDENTITY */
2421  AT_ReAddStatistics, /* internal to commands/tablecmds.c */
2422 } AlterTableType;
AlterTableType
Definition: parsenodes.h:2352
@ AT_AddIndexConstraint
Definition: parsenodes.h:2375
@ AT_MergePartitions
Definition: parsenodes.h:2417
@ AT_DropOf
Definition: parsenodes.h:2406
@ AT_SetOptions
Definition: parsenodes.h:2363
@ AT_DropIdentity
Definition: parsenodes.h:2420
@ AT_SetAttNotNull
Definition: parsenodes.h:2359
@ AT_DisableTrigUser
Definition: parsenodes.h:2398
@ AT_DropNotNull
Definition: parsenodes.h:2357
@ AT_AddOf
Definition: parsenodes.h:2405
@ AT_ResetOptions
Definition: parsenodes.h:2364
@ AT_ReplicaIdentity
Definition: parsenodes.h:2407
@ AT_ReplaceRelOptions
Definition: parsenodes.h:2390
@ AT_EnableRowSecurity
Definition: parsenodes.h:2408
@ AT_AddColumnToView
Definition: parsenodes.h:2354
@ AT_ResetRelOptions
Definition: parsenodes.h:2389
@ AT_EnableReplicaTrig
Definition: parsenodes.h:2393
@ AT_DropOids
Definition: parsenodes.h:2385
@ AT_SetIdentity
Definition: parsenodes.h:2419
@ AT_ReAddStatistics
Definition: parsenodes.h:2421
@ AT_SetUnLogged
Definition: parsenodes.h:2384
@ AT_DisableTrig
Definition: parsenodes.h:2394
@ AT_SetCompression
Definition: parsenodes.h:2366
@ AT_DropExpression
Definition: parsenodes.h:2361
@ AT_AddIndex
Definition: parsenodes.h:2368
@ AT_EnableReplicaRule
Definition: parsenodes.h:2401
@ AT_ReAddIndex
Definition: parsenodes.h:2369
@ AT_DropConstraint
Definition: parsenodes.h:2376
@ AT_SetNotNull
Definition: parsenodes.h:2358
@ AT_ClusterOn
Definition: parsenodes.h:2381
@ AT_AddIdentity
Definition: parsenodes.h:2418
@ AT_ForceRowSecurity
Definition: parsenodes.h:2410
@ AT_EnableAlwaysRule
Definition: parsenodes.h:2400
@ AT_SetAccessMethod
Definition: parsenodes.h:2386
@ AT_AlterColumnType
Definition: parsenodes.h:2378
@ AT_DetachPartitionFinalize
Definition: parsenodes.h:2415
@ AT_AddInherit
Definition: parsenodes.h:2403
@ AT_ReAddDomainConstraint
Definition: parsenodes.h:2372
@ AT_EnableTrig
Definition: parsenodes.h:2391
@ AT_DropColumn
Definition: parsenodes.h:2367
@ AT_ReAddComment
Definition: parsenodes.h:2377
@ AT_AlterColumnGenericOptions
Definition: parsenodes.h:2379
@ AT_DisableTrigAll
Definition: parsenodes.h:2396
@ AT_EnableRule
Definition: parsenodes.h:2399
@ AT_NoForceRowSecurity
Definition: parsenodes.h:2411
@ AT_DetachPartition
Definition: parsenodes.h:2414
@ AT_SetStatistics
Definition: parsenodes.h:2362
@ AT_AttachPartition
Definition: parsenodes.h:2413
@ AT_AddConstraint
Definition: parsenodes.h:2370
@ AT_DropInherit
Definition: parsenodes.h:2404
@ AT_EnableAlwaysTrig
Definition: parsenodes.h:2392
@ AT_SetLogged
Definition: parsenodes.h:2383
@ AT_SetStorage
Definition: parsenodes.h:2365
@ AT_DisableRule
Definition: parsenodes.h:2402
@ AT_DisableRowSecurity
Definition: parsenodes.h:2409
@ AT_SetRelOptions
Definition: parsenodes.h:2388
@ AT_ChangeOwner
Definition: parsenodes.h:2380
@ AT_EnableTrigUser
Definition: parsenodes.h:2397
@ AT_SetExpression
Definition: parsenodes.h:2360
@ AT_ReAddConstraint
Definition: parsenodes.h:2371
@ AT_SetTableSpace
Definition: parsenodes.h:2387
@ AT_GenericOptions
Definition: parsenodes.h:2412
@ AT_ColumnDefault
Definition: parsenodes.h:2355
@ AT_CookedColumnDefault
Definition: parsenodes.h:2356
@ AT_AlterConstraint
Definition: parsenodes.h:2373
@ AT_EnableTrigAll
Definition: parsenodes.h:2395
@ AT_SplitPartition
Definition: parsenodes.h:2416
@ AT_DropCluster
Definition: parsenodes.h:2382
@ AT_ValidateConstraint
Definition: parsenodes.h:2374
@ AT_AddColumn
Definition: parsenodes.h:2353

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

4111 {
AlterTSConfigType
Definition: parsenodes.h:4111
@ ALTER_TSCONFIG_ALTER_MAPPING_FOR_TOKEN
Definition: parsenodes.h:4113
@ ALTER_TSCONFIG_REPLACE_DICT_FOR_TOKEN
Definition: parsenodes.h:4115
@ ALTER_TSCONFIG_REPLACE_DICT
Definition: parsenodes.h:4114
@ ALTER_TSCONFIG_ADD_MAPPING
Definition: parsenodes.h:4112
@ ALTER_TSCONFIG_DROP_MAPPING
Definition: parsenodes.h:4116

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

2704 {
2705  CONSTR_NULL, /* not standard SQL, but a lot of people
2706  * expect it */
2711  CONSTR_CHECK,
2713  CONSTR_UNIQUE,
2716  CONSTR_ATTR_DEFERRABLE, /* attributes for previous constraint node */
2720 } ConstrType;
ConstrType
Definition: parsenodes.h:2704
@ CONSTR_FOREIGN
Definition: parsenodes.h:2715
@ CONSTR_ATTR_DEFERRED
Definition: parsenodes.h:2718
@ CONSTR_IDENTITY
Definition: parsenodes.h:2709
@ CONSTR_UNIQUE
Definition: parsenodes.h:2713
@ CONSTR_ATTR_NOT_DEFERRABLE
Definition: parsenodes.h:2717
@ CONSTR_DEFAULT
Definition: parsenodes.h:2708
@ CONSTR_NOTNULL
Definition: parsenodes.h:2707
@ CONSTR_ATTR_IMMEDIATE
Definition: parsenodes.h:2719
@ CONSTR_CHECK
Definition: parsenodes.h:2711
@ CONSTR_NULL
Definition: parsenodes.h:2705
@ CONSTR_GENERATED
Definition: parsenodes.h:2710
@ CONSTR_EXCLUSION
Definition: parsenodes.h:2714
@ CONSTR_ATTR_DEFERRABLE
Definition: parsenodes.h:2716
@ CONSTR_PRIMARY
Definition: parsenodes.h:2712

◆ CTEMaterialize

Enumerator
CTEMaterializeDefault 
CTEMaterializeAlways 
CTEMaterializeNever 

Definition at line 1641 of file parsenodes.h.

1642 {
1643  CTEMaterializeDefault, /* no option specified */
1644  CTEMaterializeAlways, /* MATERIALIZED */
1645  CTEMaterializeNever, /* NOT MATERIALIZED */
1646 } CTEMaterialize;
CTEMaterialize
Definition: parsenodes.h:1642
@ CTEMaterializeNever
Definition: parsenodes.h:1645
@ CTEMaterializeAlways
Definition: parsenodes.h:1644
@ CTEMaterializeDefault
Definition: parsenodes.h:1643

◆ DefElemAction

Enumerator
DEFELEM_UNSPEC 
DEFELEM_SET 
DEFELEM_ADD 
DEFELEM_DROP 

Definition at line 803 of file parsenodes.h.

804 {
805  DEFELEM_UNSPEC, /* no action given */
806  DEFELEM_SET,
807  DEFELEM_ADD,
808  DEFELEM_DROP,
809 } DefElemAction;
DefElemAction
Definition: parsenodes.h:804
@ DEFELEM_UNSPEC
Definition: parsenodes.h:805
@ DEFELEM_DROP
Definition: parsenodes.h:808
@ DEFELEM_SET
Definition: parsenodes.h:806
@ DEFELEM_ADD
Definition: parsenodes.h:807

◆ DiscardMode

Enumerator
DISCARD_ALL 
DISCARD_PLANS 
DISCARD_SEQUENCES 
DISCARD_TEMP 

Definition at line 3934 of file parsenodes.h.

3935 {
3936  DISCARD_ALL,
3937  DISCARD_PLANS,
3939  DISCARD_TEMP,
3940 } DiscardMode;
DiscardMode
Definition: parsenodes.h:3935
@ DISCARD_ALL
Definition: parsenodes.h:3936
@ DISCARD_PLANS
Definition: parsenodes.h:3937
@ DISCARD_SEQUENCES
Definition: parsenodes.h:3938
@ DISCARD_TEMP
Definition: parsenodes.h:3939

◆ DropBehavior

Enumerator
DROP_RESTRICT 
DROP_CASCADE 

Definition at line 2332 of file parsenodes.h.

2333 {
2334  DROP_RESTRICT, /* drop fails if any dependent objects */
2335  DROP_CASCADE, /* remove dependent objects too */
2336 } DropBehavior;
DropBehavior
Definition: parsenodes.h:2333
@ DROP_CASCADE
Definition: parsenodes.h:2335
@ DROP_RESTRICT
Definition: parsenodes.h:2334

◆ FetchDirection

Enumerator
FETCH_FORWARD 
FETCH_BACKWARD 
FETCH_ABSOLUTE 
FETCH_RELATIVE 

Definition at line 3325 of file parsenodes.h.

3326 {
3327  /* for these, howMany is how many rows to fetch; FETCH_ALL means ALL */
3328  FETCH_FORWARD,
3330  /* for these, howMany indicates a position; only one row is fetched */
3333 } FetchDirection;
FetchDirection
Definition: parsenodes.h:3326
@ FETCH_RELATIVE
Definition: parsenodes.h:3332
@ FETCH_ABSOLUTE
Definition: parsenodes.h:3331
@ FETCH_FORWARD
Definition: parsenodes.h:3328
@ FETCH_BACKWARD
Definition: parsenodes.h:3329

◆ FunctionParameterMode

Enumerator
FUNC_PARAM_IN 
FUNC_PARAM_OUT 
FUNC_PARAM_INOUT 
FUNC_PARAM_VARIADIC 
FUNC_PARAM_TABLE 
FUNC_PARAM_DEFAULT 

Definition at line 3449 of file parsenodes.h.

3450 {
3451  /* the assigned enum values appear in pg_proc, don't change 'em! */
3452  FUNC_PARAM_IN = 'i', /* input only */
3453  FUNC_PARAM_OUT = 'o', /* output only */
3454  FUNC_PARAM_INOUT = 'b', /* both */
3455  FUNC_PARAM_VARIADIC = 'v', /* variadic (always input) */
3456  FUNC_PARAM_TABLE = 't', /* table function output column */
3457  /* this is not used in pg_proc: */
3458  FUNC_PARAM_DEFAULT = 'd', /* default; effectively same as IN */
FunctionParameterMode
Definition: parsenodes.h:3450
@ FUNC_PARAM_IN
Definition: parsenodes.h:3452
@ FUNC_PARAM_DEFAULT
Definition: parsenodes.h:3458
@ FUNC_PARAM_OUT
Definition: parsenodes.h:3453
@ FUNC_PARAM_INOUT
Definition: parsenodes.h:3454
@ FUNC_PARAM_TABLE
Definition: parsenodes.h:3456
@ FUNC_PARAM_VARIADIC
Definition: parsenodes.h:3455

◆ GrantTargetType

Enumerator
ACL_TARGET_OBJECT 
ACL_TARGET_ALL_IN_SCHEMA 
ACL_TARGET_DEFAULTS 

Definition at line 2489 of file parsenodes.h.

2490 {
2491  ACL_TARGET_OBJECT, /* grant on specific named object(s) */
2492  ACL_TARGET_ALL_IN_SCHEMA, /* grant on all objects in given schema(s) */
2493  ACL_TARGET_DEFAULTS, /* ALTER DEFAULT PRIVILEGES */
2494 } GrantTargetType;
GrantTargetType
Definition: parsenodes.h:2490
@ ACL_TARGET_DEFAULTS
Definition: parsenodes.h:2493
@ ACL_TARGET_OBJECT
Definition: parsenodes.h:2491
@ ACL_TARGET_ALL_IN_SCHEMA
Definition: parsenodes.h:2492

◆ GroupingSetKind

Enumerator
GROUPING_SET_EMPTY 
GROUPING_SET_SIMPLE 
GROUPING_SET_ROLLUP 
GROUPING_SET_CUBE 
GROUPING_SET_SETS 

Definition at line 1500 of file parsenodes.h.

1501 {
1507 } GroupingSetKind;
GroupingSetKind
Definition: parsenodes.h:1501
@ GROUPING_SET_CUBE
Definition: parsenodes.h:1505
@ GROUPING_SET_SIMPLE
Definition: parsenodes.h:1503
@ GROUPING_SET_ROLLUP
Definition: parsenodes.h:1504
@ GROUPING_SET_SETS
Definition: parsenodes.h:1506
@ GROUPING_SET_EMPTY
Definition: parsenodes.h:1502

◆ ImportForeignSchemaType

Enumerator
FDW_IMPORT_SCHEMA_ALL 
FDW_IMPORT_SCHEMA_LIMIT_TO 
FDW_IMPORT_SCHEMA_EXCEPT 

Definition at line 2946 of file parsenodes.h.

2947 {
2948  FDW_IMPORT_SCHEMA_ALL, /* all relations wanted */
2949  FDW_IMPORT_SCHEMA_LIMIT_TO, /* include only listed tables in import */
2950  FDW_IMPORT_SCHEMA_EXCEPT, /* exclude listed tables from import */
ImportForeignSchemaType
Definition: parsenodes.h:2947
@ FDW_IMPORT_SCHEMA_LIMIT_TO
Definition: parsenodes.h:2949
@ FDW_IMPORT_SCHEMA_ALL
Definition: parsenodes.h:2948
@ FDW_IMPORT_SCHEMA_EXCEPT
Definition: parsenodes.h:2950

◆ JsonQuotes

enum JsonQuotes
Enumerator
JS_QUOTES_UNSPEC 
JS_QUOTES_KEEP 
JS_QUOTES_OMIT 

Definition at line 1778 of file parsenodes.h.

1779 {
1780  JS_QUOTES_UNSPEC, /* unspecified */
1781  JS_QUOTES_KEEP, /* KEEP QUOTES */
1782  JS_QUOTES_OMIT, /* OMIT QUOTES */
1783 } JsonQuotes;
JsonQuotes
Definition: parsenodes.h:1779
@ JS_QUOTES_KEEP
Definition: parsenodes.h:1781
@ JS_QUOTES_UNSPEC
Definition: parsenodes.h:1780
@ JS_QUOTES_OMIT
Definition: parsenodes.h:1782

◆ JsonTableColumnType

Enumerator
JTC_FOR_ORDINALITY 
JTC_REGULAR 
JTC_EXISTS 
JTC_FORMATTED 
JTC_NESTED 

Definition at line 1841 of file parsenodes.h.

1842 {
1844  JTC_REGULAR,
1845  JTC_EXISTS,
1846  JTC_FORMATTED,
1847  JTC_NESTED,
JsonTableColumnType
Definition: parsenodes.h:1842
@ JTC_FORMATTED
Definition: parsenodes.h:1846
@ JTC_FOR_ORDINALITY
Definition: parsenodes.h:1843
@ JTC_NESTED
Definition: parsenodes.h:1847
@ JTC_EXISTS
Definition: parsenodes.h:1845
@ JTC_REGULAR
Definition: parsenodes.h:1844

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

2260 {
2263  OBJECT_AMOP,
2264  OBJECT_AMPROC,
2265  OBJECT_ATTRIBUTE, /* type's attribute, when distinct from column */
2266  OBJECT_CAST,
2267  OBJECT_COLUMN,
2272  OBJECT_DEFACL,
2273  OBJECT_DOMAIN,
2277  OBJECT_FDW,
2281  OBJECT_INDEX,
2289  OBJECT_POLICY,
2294  OBJECT_ROLE,
2296  OBJECT_RULE,
2297  OBJECT_SCHEMA,
2302  OBJECT_TABLE,
2310  OBJECT_TYPE,
2312  OBJECT_VIEW,
2313 } ObjectType;
ObjectType
Definition: parsenodes.h:2260
@ OBJECT_EVENT_TRIGGER
Definition: parsenodes.h:2275
@ OBJECT_FDW
Definition: parsenodes.h:2277
@ OBJECT_TSPARSER
Definition: parsenodes.h:2308
@ OBJECT_COLLATION
Definition: parsenodes.h:2268
@ OBJECT_USER_MAPPING
Definition: parsenodes.h:2311
@ OBJECT_ACCESS_METHOD
Definition: parsenodes.h:2261
@ OBJECT_OPCLASS
Definition: parsenodes.h:2285
@ OBJECT_DEFACL
Definition: parsenodes.h:2272
@ OBJECT_AGGREGATE
Definition: parsenodes.h:2262
@ OBJECT_MATVIEW
Definition: parsenodes.h:2284
@ OBJECT_SCHEMA
Definition: parsenodes.h:2297
@ OBJECT_POLICY
Definition: parsenodes.h:2289
@ OBJECT_OPERATOR
Definition: parsenodes.h:2286
@ OBJECT_FOREIGN_TABLE
Definition: parsenodes.h:2279
@ OBJECT_TSCONFIGURATION
Definition: parsenodes.h:2306
@ OBJECT_OPFAMILY
Definition: parsenodes.h:2287
@ OBJECT_DOMAIN
Definition: parsenodes.h:2273
@ OBJECT_COLUMN
Definition: parsenodes.h:2267
@ OBJECT_TABLESPACE
Definition: parsenodes.h:2303
@ OBJECT_ROLE
Definition: parsenodes.h:2294
@ OBJECT_ROUTINE
Definition: parsenodes.h:2295
@ OBJECT_LARGEOBJECT
Definition: parsenodes.h:2283
@ OBJECT_PUBLICATION_NAMESPACE
Definition: parsenodes.h:2292
@ OBJECT_PROCEDURE
Definition: parsenodes.h:2290
@ OBJECT_EXTENSION
Definition: parsenodes.h:2276
@ OBJECT_INDEX
Definition: parsenodes.h:2281
@ OBJECT_DEFAULT
Definition: parsenodes.h:2271
@ OBJECT_DATABASE
Definition: parsenodes.h:2270
@ OBJECT_SEQUENCE
Definition: parsenodes.h:2298
@ OBJECT_TSTEMPLATE
Definition: parsenodes.h:2309
@ OBJECT_LANGUAGE
Definition: parsenodes.h:2282
@ OBJECT_AMOP
Definition: parsenodes.h:2263
@ OBJECT_PUBLICATION_REL
Definition: parsenodes.h:2293
@ OBJECT_FOREIGN_SERVER
Definition: parsenodes.h:2278
@ OBJECT_TSDICTIONARY
Definition: parsenodes.h:2307
@ OBJECT_ATTRIBUTE
Definition: parsenodes.h:2265
@ OBJECT_PUBLICATION
Definition: parsenodes.h:2291
@ OBJECT_RULE
Definition: parsenodes.h:2296
@ OBJECT_CONVERSION
Definition: parsenodes.h:2269
@ OBJECT_AMPROC
Definition: parsenodes.h:2264
@ OBJECT_TABLE
Definition: parsenodes.h:2302
@ OBJECT_VIEW
Definition: parsenodes.h:2312
@ OBJECT_PARAMETER_ACL
Definition: parsenodes.h:2288
@ OBJECT_TYPE
Definition: parsenodes.h:2310
@ OBJECT_FUNCTION
Definition: parsenodes.h:2280
@ OBJECT_TABCONSTRAINT
Definition: parsenodes.h:2301
@ OBJECT_DOMCONSTRAINT
Definition: parsenodes.h:2274
@ OBJECT_SUBSCRIPTION
Definition: parsenodes.h:2299
@ OBJECT_STATISTIC_EXT
Definition: parsenodes.h:2300
@ OBJECT_CAST
Definition: parsenodes.h:2266
@ OBJECT_TRIGGER
Definition: parsenodes.h:2305
@ OBJECT_TRANSFORM
Definition: parsenodes.h:2304

◆ PartitionRangeDatumKind

Enumerator
PARTITION_RANGE_DATUM_MINVALUE 
PARTITION_RANGE_DATUM_VALUE 
PARTITION_RANGE_DATUM_MAXVALUE 

Definition at line 922 of file parsenodes.h.

923 {
924  PARTITION_RANGE_DATUM_MINVALUE = -1, /* less than any other value */
925  PARTITION_RANGE_DATUM_VALUE = 0, /* a specific (bounded) value */
926  PARTITION_RANGE_DATUM_MAXVALUE = 1, /* greater than any other value */
PartitionRangeDatumKind
Definition: parsenodes.h:923
@ PARTITION_RANGE_DATUM_MAXVALUE
Definition: parsenodes.h:926
@ PARTITION_RANGE_DATUM_VALUE
Definition: parsenodes.h:925
@ PARTITION_RANGE_DATUM_MINVALUE
Definition: parsenodes.h:924

◆ PartitionStrategy

Enumerator
PARTITION_STRATEGY_LIST 
PARTITION_STRATEGY_RANGE 
PARTITION_STRATEGY_HASH 

Definition at line 870 of file parsenodes.h.

871 {
PartitionStrategy
Definition: parsenodes.h:871
@ PARTITION_STRATEGY_HASH
Definition: parsenodes.h:874
@ PARTITION_STRATEGY_LIST
Definition: parsenodes.h:872
@ PARTITION_STRATEGY_RANGE
Definition: parsenodes.h:873

◆ PublicationObjSpecType

Enumerator
PUBLICATIONOBJ_TABLE 
PUBLICATIONOBJ_TABLES_IN_SCHEMA 
PUBLICATIONOBJ_TABLES_IN_CUR_SCHEMA 
PUBLICATIONOBJ_CONTINUATION 

Definition at line 4147 of file parsenodes.h.

4148 {
4149  PUBLICATIONOBJ_TABLE, /* A table */
4150  PUBLICATIONOBJ_TABLES_IN_SCHEMA, /* All tables in schema */
4151  PUBLICATIONOBJ_TABLES_IN_CUR_SCHEMA, /* All tables in first element of
4152  * search_path */
4153  PUBLICATIONOBJ_CONTINUATION, /* Continuation of previous type */
PublicationObjSpecType
Definition: parsenodes.h:4148
@ PUBLICATIONOBJ_TABLES_IN_CUR_SCHEMA
Definition: parsenodes.h:4151
@ PUBLICATIONOBJ_TABLES_IN_SCHEMA
Definition: parsenodes.h:4150
@ PUBLICATIONOBJ_TABLE
Definition: parsenodes.h:4149
@ PUBLICATIONOBJ_CONTINUATION
Definition: parsenodes.h:4153

◆ QuerySource

Enumerator
QSRC_ORIGINAL 
QSRC_PARSER 
QSRC_INSTEAD_RULE 
QSRC_QUAL_INSTEAD_RULE 
QSRC_NON_INSTEAD_RULE 

Definition at line 34 of file parsenodes.h.

35 {
36  QSRC_ORIGINAL, /* original parsetree (explicit query) */
37  QSRC_PARSER, /* added by parse analysis (now unused) */
38  QSRC_INSTEAD_RULE, /* added by unconditional INSTEAD rule */
39  QSRC_QUAL_INSTEAD_RULE, /* added by conditional INSTEAD rule */
40  QSRC_NON_INSTEAD_RULE, /* added by non-INSTEAD rule */
41 } QuerySource;
QuerySource
Definition: parsenodes.h:35
@ QSRC_NON_INSTEAD_RULE
Definition: parsenodes.h:40
@ QSRC_PARSER
Definition: parsenodes.h:37
@ QSRC_QUAL_INSTEAD_RULE
Definition: parsenodes.h:39
@ QSRC_ORIGINAL
Definition: parsenodes.h:36
@ QSRC_INSTEAD_RULE
Definition: parsenodes.h:38

◆ ReindexObjectType

Enumerator
REINDEX_OBJECT_INDEX 
REINDEX_OBJECT_TABLE 
REINDEX_OBJECT_SCHEMA 
REINDEX_OBJECT_SYSTEM 
REINDEX_OBJECT_DATABASE 

Definition at line 3975 of file parsenodes.h.

3976 {
3977  REINDEX_OBJECT_INDEX, /* index */
3978  REINDEX_OBJECT_TABLE, /* table or materialized view */
3979  REINDEX_OBJECT_SCHEMA, /* schema */
3980  REINDEX_OBJECT_SYSTEM, /* system catalogs */
3981  REINDEX_OBJECT_DATABASE, /* database */
ReindexObjectType
Definition: parsenodes.h:3976
@ REINDEX_OBJECT_DATABASE
Definition: parsenodes.h:3981
@ REINDEX_OBJECT_INDEX
Definition: parsenodes.h:3977
@ REINDEX_OBJECT_SCHEMA
Definition: parsenodes.h:3979
@ REINDEX_OBJECT_SYSTEM
Definition: parsenodes.h:3980
@ REINDEX_OBJECT_TABLE
Definition: parsenodes.h:3978

◆ RoleSpecType

Enumerator
ROLESPEC_CSTRING 
ROLESPEC_CURRENT_ROLE 
ROLESPEC_CURRENT_USER 
ROLESPEC_SESSION_USER 
ROLESPEC_PUBLIC 

Definition at line 392 of file parsenodes.h.

393 {
394  ROLESPEC_CSTRING, /* role name is stored as a C string */
395  ROLESPEC_CURRENT_ROLE, /* role spec is CURRENT_ROLE */
396  ROLESPEC_CURRENT_USER, /* role spec is CURRENT_USER */
397  ROLESPEC_SESSION_USER, /* role spec is SESSION_USER */
398  ROLESPEC_PUBLIC, /* role name is "public" */
399 } RoleSpecType;
RoleSpecType
Definition: parsenodes.h:393
@ ROLESPEC_CURRENT_USER
Definition: parsenodes.h:396
@ ROLESPEC_CSTRING
Definition: parsenodes.h:394
@ ROLESPEC_SESSION_USER
Definition: parsenodes.h:397
@ ROLESPEC_CURRENT_ROLE
Definition: parsenodes.h:395
@ ROLESPEC_PUBLIC
Definition: parsenodes.h:398

◆ RoleStmtType

Enumerator
ROLESTMT_ROLE 
ROLESTMT_USER 
ROLESTMT_GROUP 

Definition at line 3083 of file parsenodes.h.

3084 {
3085  ROLESTMT_ROLE,
3086  ROLESTMT_USER,
3088 } RoleStmtType;
RoleStmtType
Definition: parsenodes.h:3084
@ ROLESTMT_ROLE
Definition: parsenodes.h:3085
@ ROLESTMT_USER
Definition: parsenodes.h:3086
@ ROLESTMT_GROUP
Definition: parsenodes.h:3087

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

1027 {
1028  RTE_RELATION, /* ordinary relation reference */
1029  RTE_SUBQUERY, /* subquery in FROM */
1030  RTE_JOIN, /* join */
1031  RTE_FUNCTION, /* function in FROM */
1032  RTE_TABLEFUNC, /* TableFunc(.., column list) */
1033  RTE_VALUES, /* VALUES (<exprlist>), (<exprlist>), ... */
1034  RTE_CTE, /* common table expr (WITH list element) */
1035  RTE_NAMEDTUPLESTORE, /* tuplestore, e.g. for AFTER triggers */
1036  RTE_RESULT, /* RTE represents an empty FROM clause; such
1037  * RTEs are added by the planner, they're not
1038  * present during parsing or rewriting */
1039 } RTEKind;
RTEKind
Definition: parsenodes.h:1027
@ RTE_JOIN
Definition: parsenodes.h:1030
@ RTE_CTE
Definition: parsenodes.h:1034
@ RTE_NAMEDTUPLESTORE
Definition: parsenodes.h:1035
@ RTE_VALUES
Definition: parsenodes.h:1033
@ RTE_SUBQUERY
Definition: parsenodes.h:1029
@ RTE_RESULT
Definition: parsenodes.h:1036
@ RTE_FUNCTION
Definition: parsenodes.h:1031
@ RTE_TABLEFUNC
Definition: parsenodes.h:1032
@ RTE_RELATION
Definition: parsenodes.h:1028

◆ SetOperation

Enumerator
SETOP_NONE 
SETOP_UNION 
SETOP_INTERSECT 
SETOP_EXCEPT 

Definition at line 2111 of file parsenodes.h.

2112 {
2113  SETOP_NONE = 0,
2114  SETOP_UNION,
2116  SETOP_EXCEPT,
2117 } SetOperation;
SetOperation
Definition: parsenodes.h:2112
@ SETOP_INTERSECT
Definition: parsenodes.h:2115
@ SETOP_UNION
Definition: parsenodes.h:2114
@ SETOP_EXCEPT
Definition: parsenodes.h:2116
@ SETOP_NONE
Definition: parsenodes.h:2113

◆ SetQuantifier

Enumerator
SET_QUANTIFIER_DEFAULT 
SET_QUANTIFIER_ALL 
SET_QUANTIFIER_DISTINCT 

Definition at line 60 of file parsenodes.h.

61 {
SetQuantifier
Definition: parsenodes.h:61
@ SET_QUANTIFIER_ALL
Definition: parsenodes.h:63
@ SET_QUANTIFIER_DISTINCT
Definition: parsenodes.h:64
@ SET_QUANTIFIER_DEFAULT
Definition: parsenodes.h:62

◆ SortByDir

enum SortByDir
Enumerator
SORTBY_DEFAULT 
SORTBY_ASC 
SORTBY_DESC 
SORTBY_USING 

Definition at line 44 of file parsenodes.h.

45 {
47  SORTBY_ASC,
49  SORTBY_USING, /* not allowed in CREATE INDEX ... */
50 } SortByDir;
SortByDir
Definition: parsenodes.h:45
@ SORTBY_USING
Definition: parsenodes.h:49
@ SORTBY_DESC
Definition: parsenodes.h:48
@ SORTBY_ASC
Definition: parsenodes.h:47
@ SORTBY_DEFAULT
Definition: parsenodes.h:46

◆ SortByNulls

Enumerator
SORTBY_NULLS_DEFAULT 
SORTBY_NULLS_FIRST 
SORTBY_NULLS_LAST 

Definition at line 52 of file parsenodes.h.

53 {
57 } SortByNulls;
SortByNulls
Definition: parsenodes.h:53
@ SORTBY_NULLS_DEFAULT
Definition: parsenodes.h:54
@ SORTBY_NULLS_LAST
Definition: parsenodes.h:56
@ SORTBY_NULLS_FIRST
Definition: parsenodes.h:55

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

760 {
767  CREATE_TABLE_LIKE_INDEXES = 1 << 6,
769  CREATE_TABLE_LIKE_STORAGE = 1 << 8,
#define PG_INT32_MAX
Definition: c.h:589
TableLikeOption
Definition: parsenodes.h:760
@ CREATE_TABLE_LIKE_COMMENTS
Definition: parsenodes.h:761
@ CREATE_TABLE_LIKE_GENERATED
Definition: parsenodes.h:765
@ CREATE_TABLE_LIKE_IDENTITY
Definition: parsenodes.h:766
@ CREATE_TABLE_LIKE_COMPRESSION
Definition: parsenodes.h:762
@ CREATE_TABLE_LIKE_STORAGE
Definition: parsenodes.h:769
@ CREATE_TABLE_LIKE_ALL
Definition: parsenodes.h:770
@ CREATE_TABLE_LIKE_INDEXES
Definition: parsenodes.h:767
@ CREATE_TABLE_LIKE_DEFAULTS
Definition: parsenodes.h:764
@ CREATE_TABLE_LIKE_STATISTICS
Definition: parsenodes.h:768
@ CREATE_TABLE_LIKE_CONSTRAINTS
Definition: parsenodes.h:763

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

3664 {
3666  TRANS_STMT_START, /* semantically identical to BEGIN */
TransactionStmtKind
Definition: parsenodes.h:3664
@ TRANS_STMT_ROLLBACK_TO
Definition: parsenodes.h:3671
@ TRANS_STMT_START
Definition: parsenodes.h:3666
@ TRANS_STMT_SAVEPOINT
Definition: parsenodes.h:3669
@ TRANS_STMT_BEGIN
Definition: parsenodes.h:3665
@ TRANS_STMT_ROLLBACK
Definition: parsenodes.h:3668
@ TRANS_STMT_COMMIT_PREPARED
Definition: parsenodes.h:3673
@ TRANS_STMT_COMMIT
Definition: parsenodes.h:3667
@ TRANS_STMT_ROLLBACK_PREPARED
Definition: parsenodes.h:3674
@ TRANS_STMT_PREPARE
Definition: parsenodes.h:3672
@ TRANS_STMT_RELEASE
Definition: parsenodes.h:3670

◆ VariableSetKind

Enumerator
VAR_SET_VALUE 
VAR_SET_DEFAULT 
VAR_SET_CURRENT 
VAR_SET_MULTI 
VAR_RESET 
VAR_RESET_ALL 

Definition at line 2613 of file parsenodes.h.

2614 {
2615  VAR_SET_VALUE, /* SET var = value */
2616  VAR_SET_DEFAULT, /* SET var TO DEFAULT */
2617  VAR_SET_CURRENT, /* SET var FROM CURRENT */
2618  VAR_SET_MULTI, /* special case for SET TRANSACTION ... */
2619  VAR_RESET, /* RESET var */
2620  VAR_RESET_ALL, /* RESET ALL */
2621 } VariableSetKind;
VariableSetKind
Definition: parsenodes.h:2614
@ VAR_SET_DEFAULT
Definition: parsenodes.h:2616
@ VAR_RESET
Definition: parsenodes.h:2619
@ VAR_SET_MULTI
Definition: parsenodes.h:2618
@ VAR_SET_VALUE
Definition: parsenodes.h:2615
@ VAR_SET_CURRENT
Definition: parsenodes.h:2617
@ VAR_RESET_ALL
Definition: parsenodes.h:2620

◆ ViewCheckOption

Enumerator
NO_CHECK_OPTION 
LOCAL_CHECK_OPTION 
CASCADED_CHECK_OPTION 

Definition at line 3743 of file parsenodes.h.

3744 {
3748 } ViewCheckOption;
ViewCheckOption
Definition: parsenodes.h:3744
@ NO_CHECK_OPTION
Definition: parsenodes.h:3745
@ CASCADED_CHECK_OPTION
Definition: parsenodes.h:3747
@ LOCAL_CHECK_OPTION
Definition: parsenodes.h:3746

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

1362 {
1363  WCO_VIEW_CHECK, /* WCO on an auto-updatable view */
1364  WCO_RLS_INSERT_CHECK, /* RLS INSERT WITH CHECK policy */
1365  WCO_RLS_UPDATE_CHECK, /* RLS UPDATE WITH CHECK policy */
1366  WCO_RLS_CONFLICT_CHECK, /* RLS ON CONFLICT DO UPDATE USING policy */
1367  WCO_RLS_MERGE_UPDATE_CHECK, /* RLS MERGE UPDATE USING policy */
1368  WCO_RLS_MERGE_DELETE_CHECK, /* RLS MERGE DELETE USING policy */
1369 } WCOKind;
WCOKind
Definition: parsenodes.h:1362
@ WCO_RLS_MERGE_UPDATE_CHECK
Definition: parsenodes.h:1367
@ WCO_RLS_CONFLICT_CHECK
Definition: parsenodes.h:1366
@ WCO_RLS_INSERT_CHECK
Definition: parsenodes.h:1364
@ WCO_VIEW_CHECK
Definition: parsenodes.h:1363
@ WCO_RLS_UPDATE_CHECK
Definition: parsenodes.h:1365
@ WCO_RLS_MERGE_DELETE_CHECK
Definition: parsenodes.h:1368