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  TriggerTransition
 
struct  RawStmt
 
struct  InsertStmt
 
struct  DeleteStmt
 
struct  UpdateStmt
 
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  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 N_ACL_RIGHTS   12 /* 1 plus the last 1<<x */
 
#define ACL_NO_RIGHTS   0
 
#define ACL_SELECT_FOR_UPDATE   ACL_UPDATE
 
#define FRAMEOPTION_NONDEFAULT   0x00001 /* any specified? */
 
#define FRAMEOPTION_RANGE   0x00002 /* RANGE behavior */
 
#define FRAMEOPTION_ROWS   0x00004 /* ROWS behavior */
 
#define FRAMEOPTION_GROUPS   0x00008 /* GROUPS behavior */
 
#define FRAMEOPTION_BETWEEN   0x00010 /* BETWEEN given? */
 
#define FRAMEOPTION_START_UNBOUNDED_PRECEDING   0x00020 /* start is U. P. */
 
#define FRAMEOPTION_END_UNBOUNDED_PRECEDING   0x00040 /* (disallowed) */
 
#define FRAMEOPTION_START_UNBOUNDED_FOLLOWING   0x00080 /* (disallowed) */
 
#define FRAMEOPTION_END_UNBOUNDED_FOLLOWING   0x00100 /* end is U. F. */
 
#define FRAMEOPTION_START_CURRENT_ROW   0x00200 /* start is C. R. */
 
#define FRAMEOPTION_END_CURRENT_ROW   0x00400 /* end is C. R. */
 
#define FRAMEOPTION_START_OFFSET_PRECEDING   0x00800 /* start is O. P. */
 
#define FRAMEOPTION_END_OFFSET_PRECEDING   0x01000 /* end is O. P. */
 
#define FRAMEOPTION_START_OFFSET_FOLLOWING   0x02000 /* start is O. F. */
 
#define FRAMEOPTION_END_OFFSET_FOLLOWING   0x04000 /* end is O. F. */
 
#define FRAMEOPTION_EXCLUDE_CURRENT_ROW   0x08000 /* omit C.R. */
 
#define FRAMEOPTION_EXCLUDE_GROUP   0x10000 /* omit C.R. & peers */
 
#define FRAMEOPTION_EXCLUDE_TIES   0x20000 /* omit C.R.'s peers */
 
#define FRAMEOPTION_START_OFFSET    (FRAMEOPTION_START_OFFSET_PRECEDING | FRAMEOPTION_START_OFFSET_FOLLOWING)
 
#define FRAMEOPTION_END_OFFSET    (FRAMEOPTION_END_OFFSET_PRECEDING | FRAMEOPTION_END_OFFSET_FOLLOWING)
 
#define FRAMEOPTION_EXCLUSION
 
#define FRAMEOPTION_DEFAULTS
 
#define PARTITION_STRATEGY_HASH   'h'
 
#define PARTITION_STRATEGY_LIST   'l'
 
#define PARTITION_STRATEGY_RANGE   'r'
 
#define GetCTETargetList(cte)
 
#define FKCONSTR_ACTION_NOACTION   'a'
 
#define FKCONSTR_ACTION_RESTRICT   'r'
 
#define FKCONSTR_ACTION_CASCADE   'c'
 
#define FKCONSTR_ACTION_SETNULL   'n'
 
#define FKCONSTR_ACTION_SETDEFAULT   'd'
 
#define FKCONSTR_MATCH_FULL   'f'
 
#define FKCONSTR_MATCH_PARTIAL   'p'
 
#define FKCONSTR_MATCH_SIMPLE   's'
 
#define OPCLASS_ITEM_OPERATOR   1
 
#define OPCLASS_ITEM_FUNCTION   2
 
#define OPCLASS_ITEM_STORAGETYPE   3
 
#define CURSOR_OPT_BINARY   0x0001 /* BINARY */
 
#define CURSOR_OPT_SCROLL   0x0002 /* SCROLL explicitly given */
 
#define CURSOR_OPT_NO_SCROLL   0x0004 /* NO SCROLL explicitly given */
 
#define CURSOR_OPT_INSENSITIVE   0x0008 /* INSENSITIVE */
 
#define CURSOR_OPT_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 TriggerTransition TriggerTransition
 
typedef struct RawStmt RawStmt
 
typedef struct InsertStmt InsertStmt
 
typedef struct DeleteStmt DeleteStmt
 
typedef struct UpdateStmt UpdateStmt
 
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 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 }
 
enum  GroupingSetKind {
  GROUPING_SET_EMPTY , GROUPING_SET_SIMPLE , GROUPING_SET_ROLLUP , GROUPING_SET_CUBE ,
  GROUPING_SET_SETS
}
 
enum  CTEMaterialize { CTEMaterializeDefault , CTEMaterializeAlways , CTEMaterializeNever }
 
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_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
}
 

Macro Definition Documentation

◆ 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 95 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 97 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 2824 of file parsenodes.h.

◆ CURSOR_OPT_BINARY

#define CURSOR_OPT_BINARY   0x0001 /* BINARY */

Definition at line 2820 of file parsenodes.h.

◆ CURSOR_OPT_CUSTOM_PLAN

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

Definition at line 2829 of file parsenodes.h.

◆ CURSOR_OPT_FAST_PLAN

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

Definition at line 2827 of file parsenodes.h.

◆ CURSOR_OPT_GENERIC_PLAN

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

Definition at line 2828 of file parsenodes.h.

◆ CURSOR_OPT_HOLD

#define CURSOR_OPT_HOLD   0x0020 /* WITH HOLD */

Definition at line 2825 of file parsenodes.h.

◆ CURSOR_OPT_INSENSITIVE

#define CURSOR_OPT_INSENSITIVE   0x0008 /* INSENSITIVE */

Definition at line 2823 of file parsenodes.h.

◆ CURSOR_OPT_NO_SCROLL

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

Definition at line 2822 of file parsenodes.h.

◆ CURSOR_OPT_PARALLEL_OK

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

Definition at line 2830 of file parsenodes.h.

◆ CURSOR_OPT_SCROLL

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

Definition at line 2821 of file parsenodes.h.

◆ FETCH_ALL

#define FETCH_ALL   LONG_MAX

Definition at line 2865 of file parsenodes.h.

◆ FKCONSTR_ACTION_CASCADE

#define FKCONSTR_ACTION_CASCADE   'c'

Definition at line 2252 of file parsenodes.h.

◆ FKCONSTR_ACTION_NOACTION

#define FKCONSTR_ACTION_NOACTION   'a'

Definition at line 2250 of file parsenodes.h.

◆ FKCONSTR_ACTION_RESTRICT

#define FKCONSTR_ACTION_RESTRICT   'r'

Definition at line 2251 of file parsenodes.h.

◆ FKCONSTR_ACTION_SETDEFAULT

#define FKCONSTR_ACTION_SETDEFAULT   'd'

Definition at line 2254 of file parsenodes.h.

◆ FKCONSTR_ACTION_SETNULL

#define FKCONSTR_ACTION_SETNULL   'n'

Definition at line 2253 of file parsenodes.h.

◆ FKCONSTR_MATCH_FULL

#define FKCONSTR_MATCH_FULL   'f'

Definition at line 2257 of file parsenodes.h.

◆ FKCONSTR_MATCH_PARTIAL

#define FKCONSTR_MATCH_PARTIAL   'p'

Definition at line 2258 of file parsenodes.h.

◆ FKCONSTR_MATCH_SIMPLE

#define FKCONSTR_MATCH_SIMPLE   's'

Definition at line 2259 of file parsenodes.h.

◆ FRAMEOPTION_BETWEEN

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

Definition at line 532 of file parsenodes.h.

◆ FRAMEOPTION_DEFAULTS

#define FRAMEOPTION_DEFAULTS
Value:
FRAMEOPTION_END_CURRENT_ROW)
#define FRAMEOPTION_START_UNBOUNDED_PRECEDING
Definition: parsenodes.h:533
#define FRAMEOPTION_RANGE
Definition: parsenodes.h:529

Definition at line 555 of file parsenodes.h.

◆ FRAMEOPTION_END_CURRENT_ROW

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

Definition at line 538 of file parsenodes.h.

◆ FRAMEOPTION_END_OFFSET

#define FRAMEOPTION_END_OFFSET    (FRAMEOPTION_END_OFFSET_PRECEDING | FRAMEOPTION_END_OFFSET_FOLLOWING)

Definition at line 549 of file parsenodes.h.

◆ FRAMEOPTION_END_OFFSET_FOLLOWING

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

Definition at line 542 of file parsenodes.h.

◆ FRAMEOPTION_END_OFFSET_PRECEDING

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

Definition at line 540 of file parsenodes.h.

◆ FRAMEOPTION_END_UNBOUNDED_FOLLOWING

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

Definition at line 536 of file parsenodes.h.

◆ FRAMEOPTION_END_UNBOUNDED_PRECEDING

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

Definition at line 534 of file parsenodes.h.

◆ FRAMEOPTION_EXCLUDE_CURRENT_ROW

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

Definition at line 543 of file parsenodes.h.

◆ FRAMEOPTION_EXCLUDE_GROUP

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

Definition at line 544 of file parsenodes.h.

◆ FRAMEOPTION_EXCLUDE_TIES

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

Definition at line 545 of file parsenodes.h.

◆ FRAMEOPTION_EXCLUSION

#define FRAMEOPTION_EXCLUSION
Value:
FRAMEOPTION_EXCLUDE_TIES)
#define FRAMEOPTION_EXCLUDE_CURRENT_ROW
Definition: parsenodes.h:543
#define FRAMEOPTION_EXCLUDE_GROUP
Definition: parsenodes.h:544

Definition at line 551 of file parsenodes.h.

◆ FRAMEOPTION_GROUPS

#define FRAMEOPTION_GROUPS   0x00008 /* GROUPS behavior */

Definition at line 531 of file parsenodes.h.

◆ FRAMEOPTION_NONDEFAULT

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

Definition at line 528 of file parsenodes.h.

◆ FRAMEOPTION_RANGE

#define FRAMEOPTION_RANGE   0x00002 /* RANGE behavior */

Definition at line 529 of file parsenodes.h.

◆ FRAMEOPTION_ROWS

#define FRAMEOPTION_ROWS   0x00004 /* ROWS behavior */

Definition at line 530 of file parsenodes.h.

◆ FRAMEOPTION_START_CURRENT_ROW

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

Definition at line 537 of file parsenodes.h.

◆ FRAMEOPTION_START_OFFSET

#define FRAMEOPTION_START_OFFSET    (FRAMEOPTION_START_OFFSET_PRECEDING | FRAMEOPTION_START_OFFSET_FOLLOWING)

Definition at line 547 of file parsenodes.h.

◆ FRAMEOPTION_START_OFFSET_FOLLOWING

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

Definition at line 541 of file parsenodes.h.

◆ FRAMEOPTION_START_OFFSET_PRECEDING

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

Definition at line 539 of file parsenodes.h.

◆ FRAMEOPTION_START_UNBOUNDED_FOLLOWING

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

Definition at line 535 of file parsenodes.h.

◆ FRAMEOPTION_START_UNBOUNDED_PRECEDING

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

Definition at line 533 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:805
#define IsA(nodeptr, _type_)
Definition: nodes.h:590
@ CMD_SELECT
Definition: nodes.h:686

Definition at line 1531 of file parsenodes.h.

◆ N_ACL_RIGHTS

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

Definition at line 94 of file parsenodes.h.

◆ OPCLASS_ITEM_FUNCTION

#define OPCLASS_ITEM_FUNCTION   2

Definition at line 2720 of file parsenodes.h.

◆ OPCLASS_ITEM_OPERATOR

#define OPCLASS_ITEM_OPERATOR   1

Definition at line 2719 of file parsenodes.h.

◆ OPCLASS_ITEM_STORAGETYPE

#define OPCLASS_ITEM_STORAGETYPE   3

Definition at line 2721 of file parsenodes.h.

◆ PARTITION_STRATEGY_HASH

#define PARTITION_STRATEGY_HASH   'h'

Definition at line 826 of file parsenodes.h.

◆ PARTITION_STRATEGY_LIST

#define PARTITION_STRATEGY_LIST   'l'

Definition at line 827 of file parsenodes.h.

◆ PARTITION_STRATEGY_RANGE

#define PARTITION_STRATEGY_RANGE   'r'

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

◆ 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

◆ ListenStmt

typedef struct ListenStmt ListenStmt

◆ LoadStmt

typedef struct LoadStmt LoadStmt

◆ LockingClause

typedef struct LockingClause LockingClause

◆ LockStmt

typedef struct LockStmt LockStmt

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

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

◆ AlterPublicationAction

Enumerator
AP_AddObjects 
AP_DropObjects 
AP_SetObjects 

Definition at line 3677 of file parsenodes.h.

3679 {
3680  AP_AddObjects, /* add objects to publication */
3681  AP_DropObjects, /* remove objects from publication */
3682  AP_SetObjects /* set list of objects */
@ AP_DropObjects
Definition: parsenodes.h:3680
@ AP_SetObjects
Definition: parsenodes.h:3681
@ AP_AddObjects
Definition: parsenodes.h:3679

◆ 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 

Definition at line 3711 of file parsenodes.h.

3713 {
@ ALTER_SUBSCRIPTION_ENABLED
Definition: parsenodes.h:3719
@ ALTER_SUBSCRIPTION_DROP_PUBLICATION
Definition: parsenodes.h:3717
@ ALTER_SUBSCRIPTION_SET_PUBLICATION
Definition: parsenodes.h:3715
@ ALTER_SUBSCRIPTION_REFRESH
Definition: parsenodes.h:3718
@ ALTER_SUBSCRIPTION_OPTIONS
Definition: parsenodes.h:3713
@ ALTER_SUBSCRIPTION_CONNECTION
Definition: parsenodes.h:3714
@ ALTER_SUBSCRIPTION_ADD_PUBLICATION
Definition: parsenodes.h:3716

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

1880 {
1881  AT_AddColumn, /* add column */
1882  AT_AddColumnRecurse, /* internal to commands/tablecmds.c */
1883  AT_AddColumnToView, /* implicitly via CREATE OR REPLACE VIEW */
1884  AT_ColumnDefault, /* alter column default */
1885  AT_CookedColumnDefault, /* add a pre-cooked column default */
1886  AT_DropNotNull, /* alter column drop not null */
1887  AT_SetNotNull, /* alter column set not null */
1888  AT_DropExpression, /* alter column drop expression */
1889  AT_CheckNotNull, /* check column is already marked not null */
1890  AT_SetStatistics, /* alter column set statistics */
1891  AT_SetOptions, /* alter column set ( options ) */
1892  AT_ResetOptions, /* alter column reset ( options ) */
1893  AT_SetStorage, /* alter column set storage */
1894  AT_SetCompression, /* alter column set compression */
1895  AT_DropColumn, /* drop column */
1896  AT_DropColumnRecurse, /* internal to commands/tablecmds.c */
1897  AT_AddIndex, /* add index */
1898  AT_ReAddIndex, /* internal to commands/tablecmds.c */
1899  AT_AddConstraint, /* add constraint */
1900  AT_AddConstraintRecurse, /* internal to commands/tablecmds.c */
1901  AT_ReAddConstraint, /* internal to commands/tablecmds.c */
1902  AT_ReAddDomainConstraint, /* internal to commands/tablecmds.c */
1903  AT_AlterConstraint, /* alter constraint */
1904  AT_ValidateConstraint, /* validate constraint */
1905  AT_ValidateConstraintRecurse, /* internal to commands/tablecmds.c */
1906  AT_AddIndexConstraint, /* add constraint using existing index */
1907  AT_DropConstraint, /* drop constraint */
1908  AT_DropConstraintRecurse, /* internal to commands/tablecmds.c */
1909  AT_ReAddComment, /* internal to commands/tablecmds.c */
1910  AT_AlterColumnType, /* alter column type */
1911  AT_AlterColumnGenericOptions, /* alter column OPTIONS (...) */
1912  AT_ChangeOwner, /* change owner */
1913  AT_ClusterOn, /* CLUSTER ON */
1914  AT_DropCluster, /* SET WITHOUT CLUSTER */
1915  AT_SetLogged, /* SET LOGGED */
1916  AT_SetUnLogged, /* SET UNLOGGED */
1917  AT_DropOids, /* SET WITHOUT OIDS */
1918  AT_SetAccessMethod, /* SET ACCESS METHOD */
1919  AT_SetTableSpace, /* SET TABLESPACE */
1920  AT_SetRelOptions, /* SET (...) -- AM specific parameters */
1921  AT_ResetRelOptions, /* RESET (...) -- AM specific parameters */
1922  AT_ReplaceRelOptions, /* replace reloption list in its entirety */
1923  AT_EnableTrig, /* ENABLE TRIGGER name */
1924  AT_EnableAlwaysTrig, /* ENABLE ALWAYS TRIGGER name */
1925  AT_EnableReplicaTrig, /* ENABLE REPLICA TRIGGER name */
1926  AT_DisableTrig, /* DISABLE TRIGGER name */
1927  AT_EnableTrigAll, /* ENABLE TRIGGER ALL */
1928  AT_DisableTrigAll, /* DISABLE TRIGGER ALL */
1929  AT_EnableTrigUser, /* ENABLE TRIGGER USER */
1930  AT_DisableTrigUser, /* DISABLE TRIGGER USER */
1931  AT_EnableRule, /* ENABLE RULE name */
1932  AT_EnableAlwaysRule, /* ENABLE ALWAYS RULE name */
1933  AT_EnableReplicaRule, /* ENABLE REPLICA RULE name */
1934  AT_DisableRule, /* DISABLE RULE name */
1935  AT_AddInherit, /* INHERIT parent */
1936  AT_DropInherit, /* NO INHERIT parent */
1937  AT_AddOf, /* OF <type_name> */
1938  AT_DropOf, /* NOT OF */
1939  AT_ReplicaIdentity, /* REPLICA IDENTITY */
1940  AT_EnableRowSecurity, /* ENABLE ROW SECURITY */
1941  AT_DisableRowSecurity, /* DISABLE ROW SECURITY */
1942  AT_ForceRowSecurity, /* FORCE ROW SECURITY */
1943  AT_NoForceRowSecurity, /* NO FORCE ROW SECURITY */
1944  AT_GenericOptions, /* OPTIONS (...) */
1945  AT_AttachPartition, /* ATTACH PARTITION */
1946  AT_DetachPartition, /* DETACH PARTITION */
1947  AT_DetachPartitionFinalize, /* DETACH PARTITION FINALIZE */
1948  AT_AddIdentity, /* ADD IDENTITY */
1949  AT_SetIdentity, /* SET identity column options */
1950  AT_DropIdentity, /* DROP IDENTITY */
1951  AT_ReAddStatistics /* internal to commands/tablecmds.c */
@ AT_AddIndexConstraint
Definition: parsenodes.h:1905
@ AT_DropOf
Definition: parsenodes.h:1937
@ AT_CheckNotNull
Definition: parsenodes.h:1888
@ AT_SetOptions
Definition: parsenodes.h:1890
@ AT_DropIdentity
Definition: parsenodes.h:1949
@ AT_DisableTrigUser
Definition: parsenodes.h:1929
@ AT_DropNotNull
Definition: parsenodes.h:1885
@ AT_AddOf
Definition: parsenodes.h:1936
@ AT_ResetOptions
Definition: parsenodes.h:1891
@ AT_ReplicaIdentity
Definition: parsenodes.h:1938
@ AT_DropColumnRecurse
Definition: parsenodes.h:1895
@ AT_ReplaceRelOptions
Definition: parsenodes.h:1921
@ AT_EnableRowSecurity
Definition: parsenodes.h:1939
@ AT_AddColumnToView
Definition: parsenodes.h:1882
@ AT_ResetRelOptions
Definition: parsenodes.h:1920
@ AT_AddConstraintRecurse
Definition: parsenodes.h:1899
@ AT_EnableReplicaTrig
Definition: parsenodes.h:1924
@ AT_DropOids
Definition: parsenodes.h:1916
@ AT_SetIdentity
Definition: parsenodes.h:1948
@ AT_ReAddStatistics
Definition: parsenodes.h:1950
@ AT_SetUnLogged
Definition: parsenodes.h:1915
@ AT_DisableTrig
Definition: parsenodes.h:1925
@ AT_SetCompression
Definition: parsenodes.h:1893
@ AT_DropExpression
Definition: parsenodes.h:1887
@ AT_AddIndex
Definition: parsenodes.h:1896
@ AT_EnableReplicaRule
Definition: parsenodes.h:1932
@ AT_ReAddIndex
Definition: parsenodes.h:1897
@ AT_DropConstraint
Definition: parsenodes.h:1906
@ AT_SetNotNull
Definition: parsenodes.h:1886
@ AT_ClusterOn
Definition: parsenodes.h:1912
@ AT_AddIdentity
Definition: parsenodes.h:1947
@ AT_ForceRowSecurity
Definition: parsenodes.h:1941
@ AT_EnableAlwaysRule
Definition: parsenodes.h:1931
@ AT_SetAccessMethod
Definition: parsenodes.h:1917
@ AT_AlterColumnType
Definition: parsenodes.h:1909
@ AT_DetachPartitionFinalize
Definition: parsenodes.h:1946
@ AT_AddInherit
Definition: parsenodes.h:1934
@ AT_ReAddDomainConstraint
Definition: parsenodes.h:1901
@ AT_EnableTrig
Definition: parsenodes.h:1922
@ AT_AddColumnRecurse
Definition: parsenodes.h:1881
@ AT_DropColumn
Definition: parsenodes.h:1894
@ AT_ValidateConstraintRecurse
Definition: parsenodes.h:1904
@ AT_ReAddComment
Definition: parsenodes.h:1908
@ AT_AlterColumnGenericOptions
Definition: parsenodes.h:1910
@ AT_DisableTrigAll
Definition: parsenodes.h:1927
@ AT_EnableRule
Definition: parsenodes.h:1930
@ AT_NoForceRowSecurity
Definition: parsenodes.h:1942
@ AT_DetachPartition
Definition: parsenodes.h:1945
@ AT_SetStatistics
Definition: parsenodes.h:1889
@ AT_AttachPartition
Definition: parsenodes.h:1944
@ AT_AddConstraint
Definition: parsenodes.h:1898
@ AT_DropInherit
Definition: parsenodes.h:1935
@ AT_EnableAlwaysTrig
Definition: parsenodes.h:1923
@ AT_SetLogged
Definition: parsenodes.h:1914
@ AT_SetStorage
Definition: parsenodes.h:1892
@ AT_DisableRule
Definition: parsenodes.h:1933
@ AT_DisableRowSecurity
Definition: parsenodes.h:1940
@ AT_SetRelOptions
Definition: parsenodes.h:1919
@ AT_ChangeOwner
Definition: parsenodes.h:1911
@ AT_EnableTrigUser
Definition: parsenodes.h:1928
@ AT_ReAddConstraint
Definition: parsenodes.h:1900
@ AT_DropConstraintRecurse
Definition: parsenodes.h:1907
@ AT_SetTableSpace
Definition: parsenodes.h:1918
@ AT_GenericOptions
Definition: parsenodes.h:1943
@ AT_ColumnDefault
Definition: parsenodes.h:1883
@ AT_CookedColumnDefault
Definition: parsenodes.h:1884
@ AT_AlterConstraint
Definition: parsenodes.h:1902
@ AT_EnableTrigAll
Definition: parsenodes.h:1926
@ AT_DropCluster
Definition: parsenodes.h:1913
@ AT_ValidateConstraint
Definition: parsenodes.h:1903
@ AT_AddColumn
Definition: parsenodes.h:1880

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

3617 {
@ ALTER_TSCONFIG_ALTER_MAPPING_FOR_TOKEN
Definition: parsenodes.h:3618
@ ALTER_TSCONFIG_REPLACE_DICT_FOR_TOKEN
Definition: parsenodes.h:3620
@ ALTER_TSCONFIG_REPLACE_DICT
Definition: parsenodes.h:3619
@ ALTER_TSCONFIG_ADD_MAPPING
Definition: parsenodes.h:3617
@ ALTER_TSCONFIG_DROP_MAPPING
Definition: parsenodes.h:3621

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

2232 {
2233  CONSTR_NULL, /* not standard SQL, but a lot of people
2234  * expect it */
2239  CONSTR_CHECK,
2241  CONSTR_UNIQUE,
2244  CONSTR_ATTR_DEFERRABLE, /* attributes for previous constraint node */
@ CONSTR_FOREIGN
Definition: parsenodes.h:2242
@ CONSTR_ATTR_DEFERRED
Definition: parsenodes.h:2245
@ CONSTR_IDENTITY
Definition: parsenodes.h:2236
@ CONSTR_UNIQUE
Definition: parsenodes.h:2240
@ CONSTR_ATTR_NOT_DEFERRABLE
Definition: parsenodes.h:2244
@ CONSTR_DEFAULT
Definition: parsenodes.h:2235
@ CONSTR_NOTNULL
Definition: parsenodes.h:2234
@ CONSTR_ATTR_IMMEDIATE
Definition: parsenodes.h:2246
@ CONSTR_CHECK
Definition: parsenodes.h:2238
@ CONSTR_NULL
Definition: parsenodes.h:2232
@ CONSTR_GENERATED
Definition: parsenodes.h:2237
@ CONSTR_EXCLUSION
Definition: parsenodes.h:2241
@ CONSTR_ATTR_DEFERRABLE
Definition: parsenodes.h:2243
@ CONSTR_PRIMARY
Definition: parsenodes.h:2239

◆ CTEMaterialize

Enumerator
CTEMaterializeDefault 
CTEMaterializeAlways 
CTEMaterializeNever 

Definition at line 1477 of file parsenodes.h.

1479 {
1480  CTEMaterializeDefault, /* no option specified */
1481  CTEMaterializeAlways, /* MATERIALIZED */
1482  CTEMaterializeNever /* NOT MATERIALIZED */
@ CTEMaterializeNever
Definition: parsenodes.h:1481
@ CTEMaterializeAlways
Definition: parsenodes.h:1480
@ CTEMaterializeDefault
Definition: parsenodes.h:1479

◆ DefElemAction

Enumerator
DEFELEM_UNSPEC 
DEFELEM_SET 
DEFELEM_ADD 
DEFELEM_DROP 

Definition at line 746 of file parsenodes.h.

748 {
749  DEFELEM_UNSPEC, /* no action given */
750  DEFELEM_SET,
751  DEFELEM_ADD,
@ DEFELEM_UNSPEC
Definition: parsenodes.h:748
@ DEFELEM_DROP
Definition: parsenodes.h:751
@ DEFELEM_SET
Definition: parsenodes.h:749
@ DEFELEM_ADD
Definition: parsenodes.h:750

◆ DiscardMode

Enumerator
DISCARD_ALL 
DISCARD_PLANS 
DISCARD_SEQUENCES 
DISCARD_TEMP 

Definition at line 3443 of file parsenodes.h.

3445 {
3446  DISCARD_ALL,
3447  DISCARD_PLANS,
3449  DISCARD_TEMP
@ DISCARD_ALL
Definition: parsenodes.h:3445
@ DISCARD_PLANS
Definition: parsenodes.h:3446
@ DISCARD_SEQUENCES
Definition: parsenodes.h:3447
@ DISCARD_TEMP
Definition: parsenodes.h:3448

◆ DropBehavior

Enumerator
DROP_RESTRICT 
DROP_CASCADE 

Definition at line 1859 of file parsenodes.h.

1861 {
1862  DROP_RESTRICT, /* drop fails if any dependent objects */
1863  DROP_CASCADE /* remove dependent objects too */
@ DROP_CASCADE
Definition: parsenodes.h:1862
@ DROP_RESTRICT
Definition: parsenodes.h:1861

◆ FetchDirection

Enumerator
FETCH_FORWARD 
FETCH_BACKWARD 
FETCH_ABSOLUTE 
FETCH_RELATIVE 

Definition at line 2855 of file parsenodes.h.

2857 {
2858  /* for these, howMany is how many rows to fetch; FETCH_ALL means ALL */
2859  FETCH_FORWARD,
2861  /* for these, howMany indicates a position; only one row is fetched */
@ FETCH_RELATIVE
Definition: parsenodes.h:2862
@ FETCH_ABSOLUTE
Definition: parsenodes.h:2861
@ FETCH_FORWARD
Definition: parsenodes.h:2858
@ FETCH_BACKWARD
Definition: parsenodes.h:2859

◆ FunctionParameterMode

Enumerator
FUNC_PARAM_IN 
FUNC_PARAM_OUT 
FUNC_PARAM_INOUT 
FUNC_PARAM_VARIADIC 
FUNC_PARAM_TABLE 
FUNC_PARAM_DEFAULT 

Definition at line 2977 of file parsenodes.h.

2979 {
2980  /* the assigned enum values appear in pg_proc, don't change 'em! */
2981  FUNC_PARAM_IN = 'i', /* input only */
2982  FUNC_PARAM_OUT = 'o', /* output only */
2983  FUNC_PARAM_INOUT = 'b', /* both */
2984  FUNC_PARAM_VARIADIC = 'v', /* variadic (always input) */
2985  FUNC_PARAM_TABLE = 't', /* table function output column */
2986  /* this is not used in pg_proc: */
2987  FUNC_PARAM_DEFAULT = 'd' /* default; effectively same as IN */
@ FUNC_PARAM_IN
Definition: parsenodes.h:2980
@ FUNC_PARAM_DEFAULT
Definition: parsenodes.h:2986
@ FUNC_PARAM_OUT
Definition: parsenodes.h:2981
@ FUNC_PARAM_INOUT
Definition: parsenodes.h:2982
@ FUNC_PARAM_TABLE
Definition: parsenodes.h:2984
@ FUNC_PARAM_VARIADIC
Definition: parsenodes.h:2983

◆ GrantTargetType

Enumerator
ACL_TARGET_OBJECT 
ACL_TARGET_ALL_IN_SCHEMA 
ACL_TARGET_DEFAULTS 

Definition at line 2017 of file parsenodes.h.

2019 {
2020  ACL_TARGET_OBJECT, /* grant on specific named object(s) */
2021  ACL_TARGET_ALL_IN_SCHEMA, /* grant on all objects in given schema(s) */
2022  ACL_TARGET_DEFAULTS /* ALTER DEFAULT PRIVILEGES */
@ ACL_TARGET_DEFAULTS
Definition: parsenodes.h:2021
@ ACL_TARGET_OBJECT
Definition: parsenodes.h:2019
@ ACL_TARGET_ALL_IN_SCHEMA
Definition: parsenodes.h:2020

◆ GroupingSetKind

Enumerator
GROUPING_SET_EMPTY 
GROUPING_SET_SIMPLE 
GROUPING_SET_ROLLUP 
GROUPING_SET_CUBE 
GROUPING_SET_SETS 

Definition at line 1352 of file parsenodes.h.

1354 {
@ GROUPING_SET_CUBE
Definition: parsenodes.h:1357
@ GROUPING_SET_SIMPLE
Definition: parsenodes.h:1355
@ GROUPING_SET_ROLLUP
Definition: parsenodes.h:1356
@ GROUPING_SET_SETS
Definition: parsenodes.h:1358
@ GROUPING_SET_EMPTY
Definition: parsenodes.h:1354

◆ ImportForeignSchemaType

Enumerator
FDW_IMPORT_SCHEMA_ALL 
FDW_IMPORT_SCHEMA_LIMIT_TO 
FDW_IMPORT_SCHEMA_EXCEPT 

Definition at line 2476 of file parsenodes.h.

2478 {
2479  FDW_IMPORT_SCHEMA_ALL, /* all relations wanted */
2480  FDW_IMPORT_SCHEMA_LIMIT_TO, /* include only listed tables in import */
2481  FDW_IMPORT_SCHEMA_EXCEPT /* exclude listed tables from import */
@ FDW_IMPORT_SCHEMA_LIMIT_TO
Definition: parsenodes.h:2479
@ FDW_IMPORT_SCHEMA_ALL
Definition: parsenodes.h:2478
@ FDW_IMPORT_SCHEMA_EXCEPT
Definition: parsenodes.h:2480

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

1789 {
1792  OBJECT_AMOP,
1793  OBJECT_AMPROC,
1794  OBJECT_ATTRIBUTE, /* type's attribute, when distinct from column */
1795  OBJECT_CAST,
1796  OBJECT_COLUMN,
1801  OBJECT_DEFACL,
1802  OBJECT_DOMAIN,
1806  OBJECT_FDW,
1810  OBJECT_INDEX,
1817  OBJECT_POLICY,
1822  OBJECT_ROLE,
1824  OBJECT_RULE,
1825  OBJECT_SCHEMA,
1830  OBJECT_TABLE,
1838  OBJECT_TYPE,
1840  OBJECT_VIEW
@ OBJECT_EVENT_TRIGGER
Definition: parsenodes.h:1803
@ OBJECT_FDW
Definition: parsenodes.h:1805
@ OBJECT_TSPARSER
Definition: parsenodes.h:1835
@ OBJECT_COLLATION
Definition: parsenodes.h:1796
@ OBJECT_USER_MAPPING
Definition: parsenodes.h:1838
@ OBJECT_ACCESS_METHOD
Definition: parsenodes.h:1789
@ OBJECT_OPCLASS
Definition: parsenodes.h:1813
@ OBJECT_DEFACL
Definition: parsenodes.h:1800
@ OBJECT_AGGREGATE
Definition: parsenodes.h:1790
@ OBJECT_MATVIEW
Definition: parsenodes.h:1812
@ OBJECT_SCHEMA
Definition: parsenodes.h:1824
@ OBJECT_POLICY
Definition: parsenodes.h:1816
@ OBJECT_OPERATOR
Definition: parsenodes.h:1814
@ OBJECT_FOREIGN_TABLE
Definition: parsenodes.h:1807
@ OBJECT_TSCONFIGURATION
Definition: parsenodes.h:1833
@ OBJECT_OPFAMILY
Definition: parsenodes.h:1815
@ OBJECT_DOMAIN
Definition: parsenodes.h:1801
@ OBJECT_COLUMN
Definition: parsenodes.h:1795
@ OBJECT_TABLESPACE
Definition: parsenodes.h:1830
@ OBJECT_ROLE
Definition: parsenodes.h:1821
@ OBJECT_ROUTINE
Definition: parsenodes.h:1822
@ OBJECT_LARGEOBJECT
Definition: parsenodes.h:1811
@ OBJECT_PUBLICATION_NAMESPACE
Definition: parsenodes.h:1819
@ OBJECT_PROCEDURE
Definition: parsenodes.h:1817
@ OBJECT_EXTENSION
Definition: parsenodes.h:1804
@ OBJECT_INDEX
Definition: parsenodes.h:1809
@ OBJECT_DEFAULT
Definition: parsenodes.h:1799
@ OBJECT_DATABASE
Definition: parsenodes.h:1798
@ OBJECT_SEQUENCE
Definition: parsenodes.h:1825
@ OBJECT_TSTEMPLATE
Definition: parsenodes.h:1836
@ OBJECT_LANGUAGE
Definition: parsenodes.h:1810
@ OBJECT_AMOP
Definition: parsenodes.h:1791
@ OBJECT_PUBLICATION_REL
Definition: parsenodes.h:1820
@ OBJECT_FOREIGN_SERVER
Definition: parsenodes.h:1806
@ OBJECT_TSDICTIONARY
Definition: parsenodes.h:1834
@ OBJECT_ATTRIBUTE
Definition: parsenodes.h:1793
@ OBJECT_PUBLICATION
Definition: parsenodes.h:1818
@ OBJECT_RULE
Definition: parsenodes.h:1823
@ OBJECT_CONVERSION
Definition: parsenodes.h:1797
@ OBJECT_AMPROC
Definition: parsenodes.h:1792
@ OBJECT_TABLE
Definition: parsenodes.h:1829
@ OBJECT_VIEW
Definition: parsenodes.h:1839
@ OBJECT_TYPE
Definition: parsenodes.h:1837
@ OBJECT_FUNCTION
Definition: parsenodes.h:1808
@ OBJECT_TABCONSTRAINT
Definition: parsenodes.h:1828
@ OBJECT_DOMCONSTRAINT
Definition: parsenodes.h:1802
@ OBJECT_SUBSCRIPTION
Definition: parsenodes.h:1826
@ OBJECT_STATISTIC_EXT
Definition: parsenodes.h:1827
@ OBJECT_CAST
Definition: parsenodes.h:1794
@ OBJECT_TRIGGER
Definition: parsenodes.h:1832
@ OBJECT_TRANSFORM
Definition: parsenodes.h:1831

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

864 {
865  PARTITION_RANGE_DATUM_MINVALUE = -1, /* less than any other value */
866  PARTITION_RANGE_DATUM_VALUE = 0, /* a specific (bounded) value */
867  PARTITION_RANGE_DATUM_MAXVALUE = 1 /* greater than any other value */
@ PARTITION_RANGE_DATUM_MAXVALUE
Definition: parsenodes.h:866
@ PARTITION_RANGE_DATUM_VALUE
Definition: parsenodes.h:865
@ PARTITION_RANGE_DATUM_MINVALUE
Definition: parsenodes.h:864

◆ PublicationObjSpecType

Enumerator
PUBLICATIONOBJ_TABLE 
PUBLICATIONOBJ_TABLES_IN_SCHEMA 
PUBLICATIONOBJ_TABLES_IN_CUR_SCHEMA 
PUBLICATIONOBJ_CONTINUATION 

Definition at line 3650 of file parsenodes.h.

3652 {
3653  PUBLICATIONOBJ_TABLE, /* A table */
3654  PUBLICATIONOBJ_TABLES_IN_SCHEMA, /* All tables in schema */
3655  PUBLICATIONOBJ_TABLES_IN_CUR_SCHEMA, /* All tables in first element of
3656  * search_path */
3657  PUBLICATIONOBJ_CONTINUATION /* Continuation of previous type */
@ PUBLICATIONOBJ_TABLES_IN_CUR_SCHEMA
Definition: parsenodes.h:3654
@ PUBLICATIONOBJ_TABLES_IN_SCHEMA
Definition: parsenodes.h:3653
@ PUBLICATIONOBJ_TABLE
Definition: parsenodes.h:3652
@ PUBLICATIONOBJ_CONTINUATION
Definition: parsenodes.h:3656

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

3486 {
3487  REINDEX_OBJECT_INDEX, /* index */
3488  REINDEX_OBJECT_TABLE, /* table or materialized view */
3489  REINDEX_OBJECT_SCHEMA, /* schema */
3490  REINDEX_OBJECT_SYSTEM, /* system catalogs */
3491  REINDEX_OBJECT_DATABASE /* database */
@ REINDEX_OBJECT_DATABASE
Definition: parsenodes.h:3490
@ REINDEX_OBJECT_INDEX
Definition: parsenodes.h:3486
@ REINDEX_OBJECT_SCHEMA
Definition: parsenodes.h:3488
@ REINDEX_OBJECT_SYSTEM
Definition: parsenodes.h:3489
@ REINDEX_OBJECT_TABLE
Definition: parsenodes.h:3487

◆ RoleSpecType

Enumerator
ROLESPEC_CSTRING 
ROLESPEC_CURRENT_ROLE 
ROLESPEC_CURRENT_USER 
ROLESPEC_SESSION_USER 
ROLESPEC_PUBLIC 

Definition at line 339 of file parsenodes.h.

341 {
342  ROLESPEC_CSTRING, /* role name is stored as a C string */
343  ROLESPEC_CURRENT_ROLE, /* role spec is CURRENT_ROLE */
344  ROLESPEC_CURRENT_USER, /* role spec is CURRENT_USER */
345  ROLESPEC_SESSION_USER, /* role spec is SESSION_USER */
346  ROLESPEC_PUBLIC /* role name is "public" */
@ ROLESPEC_CURRENT_USER
Definition: parsenodes.h:343
@ ROLESPEC_CSTRING
Definition: parsenodes.h:341
@ ROLESPEC_SESSION_USER
Definition: parsenodes.h:344
@ ROLESPEC_CURRENT_ROLE
Definition: parsenodes.h:342
@ ROLESPEC_PUBLIC
Definition: parsenodes.h:345

◆ RoleStmtType

Enumerator
ROLESTMT_ROLE 
ROLESTMT_USER 
ROLESTMT_GROUP 

Definition at line 2613 of file parsenodes.h.

2615 {
2616  ROLESTMT_ROLE,
2617  ROLESTMT_USER,
@ ROLESTMT_ROLE
Definition: parsenodes.h:2615
@ ROLESTMT_USER
Definition: parsenodes.h:2616
@ ROLESTMT_GROUP
Definition: parsenodes.h:2617

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

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

◆ SetOperation

Enumerator
SETOP_NONE 
SETOP_UNION 
SETOP_INTERSECT 
SETOP_EXCEPT 

Definition at line 1643 of file parsenodes.h.

1645 {
1646  SETOP_NONE = 0,
1647  SETOP_UNION,
1649  SETOP_EXCEPT
@ SETOP_INTERSECT
Definition: parsenodes.h:1647
@ SETOP_UNION
Definition: parsenodes.h:1646
@ SETOP_EXCEPT
Definition: parsenodes.h:1648
@ SETOP_NONE
Definition: parsenodes.h:1645

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

704 {
711  CREATE_TABLE_LIKE_INDEXES = 1 << 6,
713  CREATE_TABLE_LIKE_STORAGE = 1 << 8,
#define PG_INT32_MAX
Definition: c.h:524
@ CREATE_TABLE_LIKE_COMMENTS
Definition: parsenodes.h:704
@ CREATE_TABLE_LIKE_GENERATED
Definition: parsenodes.h:708
@ CREATE_TABLE_LIKE_IDENTITY
Definition: parsenodes.h:709
@ CREATE_TABLE_LIKE_COMPRESSION
Definition: parsenodes.h:705
@ CREATE_TABLE_LIKE_STORAGE
Definition: parsenodes.h:712
@ CREATE_TABLE_LIKE_ALL
Definition: parsenodes.h:713
@ CREATE_TABLE_LIKE_INDEXES
Definition: parsenodes.h:710
@ CREATE_TABLE_LIKE_DEFAULTS
Definition: parsenodes.h:707
@ CREATE_TABLE_LIKE_STATISTICS
Definition: parsenodes.h:711
@ CREATE_TABLE_LIKE_CONSTRAINTS
Definition: parsenodes.h:706

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

3184 {
3186  TRANS_STMT_START, /* semantically identical to BEGIN */
@ TRANS_STMT_ROLLBACK_TO
Definition: parsenodes.h:3190
@ TRANS_STMT_START
Definition: parsenodes.h:3185
@ TRANS_STMT_SAVEPOINT
Definition: parsenodes.h:3188
@ TRANS_STMT_BEGIN
Definition: parsenodes.h:3184
@ TRANS_STMT_ROLLBACK
Definition: parsenodes.h:3187
@ TRANS_STMT_COMMIT_PREPARED
Definition: parsenodes.h:3192
@ TRANS_STMT_COMMIT
Definition: parsenodes.h:3186
@ TRANS_STMT_ROLLBACK_PREPARED
Definition: parsenodes.h:3193
@ TRANS_STMT_PREPARE
Definition: parsenodes.h:3191
@ TRANS_STMT_RELEASE
Definition: parsenodes.h:3189

◆ VariableSetKind

Enumerator
VAR_SET_VALUE 
VAR_SET_DEFAULT 
VAR_SET_CURRENT 
VAR_SET_MULTI 
VAR_RESET 
VAR_RESET_ALL 

Definition at line 2141 of file parsenodes.h.

2143 {
2144  VAR_SET_VALUE, /* SET var = value */
2145  VAR_SET_DEFAULT, /* SET var TO DEFAULT */
2146  VAR_SET_CURRENT, /* SET var FROM CURRENT */
2147  VAR_SET_MULTI, /* special case for SET TRANSACTION ... */
2148  VAR_RESET, /* RESET var */
2149  VAR_RESET_ALL /* RESET ALL */
@ VAR_SET_DEFAULT
Definition: parsenodes.h:2144
@ VAR_RESET
Definition: parsenodes.h:2147
@ VAR_SET_MULTI
Definition: parsenodes.h:2146
@ VAR_SET_VALUE
Definition: parsenodes.h:2143
@ VAR_SET_CURRENT
Definition: parsenodes.h:2145
@ VAR_RESET_ALL
Definition: parsenodes.h:2148

◆ ViewCheckOption

Enumerator
NO_CHECK_OPTION 
LOCAL_CHECK_OPTION 
CASCADED_CHECK_OPTION 

Definition at line 3258 of file parsenodes.h.

3260 {
@ NO_CHECK_OPTION
Definition: parsenodes.h:3260
@ CASCADED_CHECK_OPTION
Definition: parsenodes.h:3262
@ LOCAL_CHECK_OPTION
Definition: parsenodes.h:3261

◆ WCOKind

enum WCOKind
Enumerator
WCO_VIEW_CHECK 
WCO_RLS_INSERT_CHECK 
WCO_RLS_UPDATE_CHECK 
WCO_RLS_CONFLICT_CHECK 

Definition at line 1216 of file parsenodes.h.

1218 {
1219  WCO_VIEW_CHECK, /* WCO on an auto-updatable view */
1220  WCO_RLS_INSERT_CHECK, /* RLS INSERT WITH CHECK policy */
1221  WCO_RLS_UPDATE_CHECK, /* RLS UPDATE WITH CHECK policy */
1222  WCO_RLS_CONFLICT_CHECK /* RLS ON CONFLICT DO UPDATE USING policy */
@ WCO_RLS_CONFLICT_CHECK
Definition: parsenodes.h:1221
@ WCO_RLS_INSERT_CHECK
Definition: parsenodes.h:1219
@ WCO_VIEW_CHECK
Definition: parsenodes.h:1218
@ WCO_RLS_UPDATE_CHECK
Definition: parsenodes.h:1220