Header And Logo

PostgreSQL
| The world's most advanced open source database.

Data Structures | Defines | Typedefs | Enumerations

parsenodes.h File Reference

#include "nodes/bitmapset.h"
#include "nodes/primnodes.h"
#include "nodes/value.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
struct  TypeCast
struct  CollateClause
struct  FuncCall
struct  A_Star
struct  A_Indices
struct  A_Indirection
struct  A_ArrayExpr
struct  ResTarget
struct  SortBy
struct  WindowDef
struct  RangeSubselect
struct  RangeFunction
struct  ColumnDef
struct  TableLikeClause
struct  IndexElem
struct  DefElem
struct  LockingClause
struct  XmlSerialize
struct  RangeTblEntry
struct  SortGroupClause
struct  WindowClause
struct  RowMarkClause
struct  WithClause
struct  CommonTableExpr
struct  InsertStmt
struct  DeleteStmt
struct  UpdateStmt
struct  SelectStmt
struct  SetOperationStmt
struct  CreateSchemaStmt
struct  AlterTableStmt
struct  AlterTableCmd
struct  AlterDomainStmt
struct  GrantStmt
struct  PrivGrantee
struct  FuncWithArgs
struct  AccessPriv
struct  GrantRoleStmt
struct  AlterDefaultPrivilegesStmt
struct  CopyStmt
struct  VariableSetStmt
struct  VariableShowStmt
struct  CreateStmt
struct  Constraint
struct  CreateTableSpaceStmt
struct  DropTableSpaceStmt
struct  AlterTableSpaceOptionsStmt
struct  CreateExtensionStmt
struct  AlterExtensionStmt
struct  AlterExtensionContentsStmt
struct  CreateFdwStmt
struct  AlterFdwStmt
struct  CreateForeignServerStmt
struct  AlterForeignServerStmt
struct  CreateForeignTableStmt
struct  CreateUserMappingStmt
struct  AlterUserMappingStmt
struct  DropUserMappingStmt
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  CreateFunctionStmt
struct  FunctionParameter
struct  AlterFunctionStmt
struct  DoStmt
struct  InlineCodeBlock
struct  RenameStmt
struct  AlterObjectSchemaStmt
struct  AlterOwnerStmt
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  ClusterStmt
struct  VacuumStmt
struct  ExplainStmt
struct  CreateTableAsStmt
struct  RefreshMatViewStmt
struct  CheckPointStmt
struct  DiscardStmt
struct  LockStmt
struct  ConstraintsSetStmt
struct  ReindexStmt
struct  CreateConversionStmt
struct  CreateCastStmt
struct  PrepareStmt
struct  ExecuteStmt
struct  DeallocateStmt
struct  DropOwnedStmt
struct  ReassignOwnedStmt
struct  AlterTSDictionaryStmt
struct  AlterTSConfigurationStmt

Defines

#define ACL_INSERT   (1<<0)
#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)
#define ACL_USAGE   (1<<8)
#define ACL_CREATE   (1<<9)
#define ACL_CREATE_TEMP   (1<<10)
#define ACL_CONNECT   (1<<11)
#define N_ACL_RIGHTS   12
#define ACL_NO_RIGHTS   0
#define ACL_SELECT_FOR_UPDATE   ACL_UPDATE
#define FRAMEOPTION_NONDEFAULT   0x00001
#define FRAMEOPTION_RANGE   0x00002
#define FRAMEOPTION_ROWS   0x00004
#define FRAMEOPTION_BETWEEN   0x00008
#define FRAMEOPTION_START_UNBOUNDED_PRECEDING   0x00010
#define FRAMEOPTION_END_UNBOUNDED_PRECEDING   0x00020
#define FRAMEOPTION_START_UNBOUNDED_FOLLOWING   0x00040
#define FRAMEOPTION_END_UNBOUNDED_FOLLOWING   0x00080
#define FRAMEOPTION_START_CURRENT_ROW   0x00100
#define FRAMEOPTION_END_CURRENT_ROW   0x00200
#define FRAMEOPTION_START_VALUE_PRECEDING   0x00400
#define FRAMEOPTION_END_VALUE_PRECEDING   0x00800
#define FRAMEOPTION_START_VALUE_FOLLOWING   0x01000
#define FRAMEOPTION_END_VALUE_FOLLOWING   0x02000
#define FRAMEOPTION_START_VALUE   (FRAMEOPTION_START_VALUE_PRECEDING | FRAMEOPTION_START_VALUE_FOLLOWING)
#define FRAMEOPTION_END_VALUE   (FRAMEOPTION_END_VALUE_PRECEDING | FRAMEOPTION_END_VALUE_FOLLOWING)
#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
#define CURSOR_OPT_SCROLL   0x0002
#define CURSOR_OPT_NO_SCROLL   0x0004
#define CURSOR_OPT_INSENSITIVE   0x0008
#define CURSOR_OPT_HOLD   0x0010
#define CURSOR_OPT_FAST_PLAN   0x0020
#define CURSOR_OPT_GENERIC_PLAN   0x0040
#define CURSOR_OPT_CUSTOM_PLAN   0x0080
#define FETCH_ALL   LONG_MAX

Typedefs

typedef enum QuerySource QuerySource
typedef enum SortByDir SortByDir
typedef enum SortByNulls SortByNulls
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 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 SortBy SortBy
typedef struct WindowDef WindowDef
typedef struct RangeSubselect RangeSubselect
typedef struct RangeFunction RangeFunction
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 enum LockClauseStrength LockClauseStrength
typedef struct LockingClause LockingClause
typedef struct XmlSerialize XmlSerialize
typedef enum RTEKind RTEKind
typedef struct RangeTblEntry RangeTblEntry
typedef struct SortGroupClause SortGroupClause
typedef struct WindowClause WindowClause
typedef struct RowMarkClause RowMarkClause
typedef struct WithClause WithClause
typedef struct CommonTableExpr CommonTableExpr
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 enum ObjectType ObjectType
typedef struct CreateSchemaStmt CreateSchemaStmt
typedef enum DropBehavior DropBehavior
typedef struct AlterTableStmt AlterTableStmt
typedef enum AlterTableType AlterTableType
typedef struct AlterTableCmd AlterTableCmd
typedef struct AlterDomainStmt AlterDomainStmt
typedef enum GrantTargetType GrantTargetType
typedef enum GrantObjectType GrantObjectType
typedef struct GrantStmt GrantStmt
typedef struct PrivGrantee PrivGrantee
typedef struct FuncWithArgs FuncWithArgs
typedef struct AccessPriv AccessPriv
typedef struct GrantRoleStmt GrantRoleStmt
typedef struct
AlterDefaultPrivilegesStmt 
AlterDefaultPrivilegesStmt
typedef struct CopyStmt CopyStmt
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 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 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 CreateFunctionStmt CreateFunctionStmt
typedef enum FunctionParameterMode FunctionParameterMode
typedef struct FunctionParameter FunctionParameter
typedef struct AlterFunctionStmt AlterFunctionStmt
typedef struct DoStmt DoStmt
typedef struct InlineCodeBlock InlineCodeBlock
typedef struct RenameStmt RenameStmt
typedef struct
AlterObjectSchemaStmt 
AlterObjectSchemaStmt
typedef struct AlterOwnerStmt AlterOwnerStmt
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 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 ClusterStmt ClusterStmt
typedef enum VacuumOption VacuumOption
typedef struct VacuumStmt VacuumStmt
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 struct ReindexStmt ReindexStmt
typedef struct CreateConversionStmt CreateConversionStmt
typedef struct CreateCastStmt CreateCastStmt
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 struct
AlterTSConfigurationStmt 
AlterTSConfigurationStmt

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  A_Expr_Kind {
  AEXPR_OP, AEXPR_AND, AEXPR_OR, AEXPR_NOT,
  AEXPR_OP_ANY, AEXPR_OP_ALL, AEXPR_DISTINCT, AEXPR_NULLIF,
  AEXPR_OF, AEXPR_IN
}
enum  TableLikeOption {
  CREATE_TABLE_LIKE_DEFAULTS = 1 << 0, CREATE_TABLE_LIKE_CONSTRAINTS = 1 << 1, CREATE_TABLE_LIKE_INDEXES = 1 << 2, CREATE_TABLE_LIKE_STORAGE = 1 << 3,
  CREATE_TABLE_LIKE_COMMENTS = 1 << 4, CREATE_TABLE_LIKE_ALL = 0x7FFFFFFF
}
enum  DefElemAction { DEFELEM_UNSPEC, DEFELEM_SET, DEFELEM_ADD, DEFELEM_DROP }
enum  LockClauseStrength { LCS_FORKEYSHARE, LCS_FORSHARE, LCS_FORNOKEYUPDATE, LCS_FORUPDATE }
enum  RTEKind {
  RTE_RELATION, RTE_SUBQUERY, RTE_JOIN, RTE_FUNCTION,
  RTE_VALUES, RTE_CTE
}
enum  SetOperation { SETOP_NONE = 0, SETOP_UNION, SETOP_INTERSECT, SETOP_EXCEPT }
enum  ObjectType {
  OBJECT_AGGREGATE, OBJECT_ATTRIBUTE, OBJECT_CAST, OBJECT_COLUMN,
  OBJECT_CONSTRAINT, OBJECT_COLLATION, OBJECT_CONVERSION, OBJECT_DATABASE,
  OBJECT_DOMAIN, 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_ROLE, OBJECT_RULE,
  OBJECT_SCHEMA, OBJECT_SEQUENCE, OBJECT_TABLE, OBJECT_TABLESPACE,
  OBJECT_TRIGGER, OBJECT_TSCONFIGURATION, OBJECT_TSDICTIONARY, OBJECT_TSPARSER,
  OBJECT_TSTEMPLATE, OBJECT_TYPE, OBJECT_VIEW
}
enum  DropBehavior { DROP_RESTRICT, DROP_CASCADE }
enum  AlterTableType {
  AT_AddColumn, AT_AddColumnRecurse, AT_AddColumnToView, AT_ColumnDefault,
  AT_DropNotNull, AT_SetNotNull, AT_SetStatistics, AT_SetOptions,
  AT_ResetOptions, AT_SetStorage, AT_DropColumn, AT_DropColumnRecurse,
  AT_AddIndex, AT_ReAddIndex, AT_AddConstraint, AT_AddConstraintRecurse,
  AT_ReAddConstraint, AT_ValidateConstraint, AT_ValidateConstraintRecurse, AT_ProcessedConstraint,
  AT_AddIndexConstraint, AT_DropConstraint, AT_DropConstraintRecurse, AT_AlterColumnType,
  AT_AlterColumnGenericOptions, AT_ChangeOwner, AT_ClusterOn, AT_DropCluster,
  AT_AddOids, AT_AddOidsRecurse, AT_DropOids, 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_GenericOptions
}
enum  GrantTargetType { ACL_TARGET_OBJECT, ACL_TARGET_ALL_IN_SCHEMA, ACL_TARGET_DEFAULTS }
enum  GrantObjectType {
  ACL_OBJECT_COLUMN, ACL_OBJECT_RELATION, ACL_OBJECT_SEQUENCE, ACL_OBJECT_DATABASE,
  ACL_OBJECT_DOMAIN, ACL_OBJECT_FDW, ACL_OBJECT_FOREIGN_SERVER, ACL_OBJECT_FUNCTION,
  ACL_OBJECT_LANGUAGE, ACL_OBJECT_LARGEOBJECT, ACL_OBJECT_NAMESPACE, ACL_OBJECT_TABLESPACE,
  ACL_OBJECT_TYPE
}
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_CHECK,
  CONSTR_PRIMARY, CONSTR_UNIQUE, CONSTR_EXCLUSION, CONSTR_FOREIGN,
  CONSTR_ATTR_DEFERRABLE, CONSTR_ATTR_NOT_DEFERRABLE, CONSTR_ATTR_DEFERRED, CONSTR_ATTR_IMMEDIATE
}
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'
}
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  VacuumOption {
  VACOPT_VACUUM = 1 << 0, VACOPT_ANALYZE = 1 << 1, VACOPT_VERBOSE = 1 << 2, VACOPT_FREEZE = 1 << 3,
  VACOPT_FULL = 1 << 4, VACOPT_NOWAIT = 1 << 5
}
enum  DiscardMode { DISCARD_ALL, DISCARD_PLANS, DISCARD_TEMP }

Define Documentation

#define ACL_CONNECT   (1<<11)
#define ACL_CREATE   (1<<9)
#define ACL_CREATE_TEMP   (1<<10)
#define ACL_DELETE   (1<<3)
#define ACL_EXECUTE   (1<<7)
#define ACL_INSERT   (1<<0)
#define ACL_NO_RIGHTS   0
#define ACL_REFERENCES   (1<<5)
#define ACL_SELECT   (1<<1)
#define ACL_SELECT_FOR_UPDATE   ACL_UPDATE

Definition at line 78 of file parsenodes.h.

#define ACL_TRIGGER   (1<<6)
#define ACL_TRUNCATE   (1<<4)
#define ACL_UPDATE   (1<<2)
#define ACL_USAGE   (1<<8)
#define CURSOR_OPT_BINARY   0x0001

Definition at line 2007 of file parsenodes.h.

Referenced by exec_simple_query(), and pg_cursor().

#define CURSOR_OPT_CUSTOM_PLAN   0x0080

Definition at line 2015 of file parsenodes.h.

Referenced by choose_custom_plan().

#define CURSOR_OPT_FAST_PLAN   0x0020

Definition at line 2013 of file parsenodes.h.

Referenced by standard_planner().

#define CURSOR_OPT_GENERIC_PLAN   0x0040

Definition at line 2014 of file parsenodes.h.

Referenced by choose_custom_plan().

#define CURSOR_OPT_HOLD   0x0010
#define CURSOR_OPT_INSENSITIVE   0x0008

Definition at line 2010 of file parsenodes.h.

Referenced by transformDeclareCursorStmt().

#define CURSOR_OPT_NO_SCROLL   0x0004
#define CURSOR_OPT_SCROLL   0x0002
#define FETCH_ALL   LONG_MAX

Definition at line 2050 of file parsenodes.h.

Referenced by DoPortalRunFetch(), exec_simple_query(), and PortalRunSelect().

#define FKCONSTR_ACTION_CASCADE   'c'

Definition at line 1528 of file parsenodes.h.

Referenced by createForeignKeyTriggers(), and pg_get_constraintdef_worker().

#define FKCONSTR_ACTION_NOACTION   'a'

Definition at line 1526 of file parsenodes.h.

Referenced by createForeignKeyTriggers(), and pg_get_constraintdef_worker().

#define FKCONSTR_ACTION_RESTRICT   'r'

Definition at line 1527 of file parsenodes.h.

Referenced by createForeignKeyTriggers(), and pg_get_constraintdef_worker().

#define FKCONSTR_ACTION_SETDEFAULT   'd'

Definition at line 1530 of file parsenodes.h.

Referenced by createForeignKeyTriggers(), and pg_get_constraintdef_worker().

#define FKCONSTR_ACTION_SETNULL   'n'

Definition at line 1529 of file parsenodes.h.

Referenced by createForeignKeyTriggers(), and pg_get_constraintdef_worker().

#define FKCONSTR_MATCH_FULL   'f'
#define FKCONSTR_MATCH_PARTIAL   'p'
#define FKCONSTR_MATCH_SIMPLE   's'
#define FRAMEOPTION_BETWEEN   0x00008

Definition at line 427 of file parsenodes.h.

Referenced by get_rule_windowspec().

#define FRAMEOPTION_DEFAULTS
Value:
(FRAMEOPTION_RANGE | FRAMEOPTION_START_UNBOUNDED_PRECEDING | \
     FRAMEOPTION_END_CURRENT_ROW)

Definition at line 444 of file parsenodes.h.

Referenced by transformWindowDefinitions(), and transformWindowFuncCall().

#define FRAMEOPTION_END_CURRENT_ROW   0x00200
#define FRAMEOPTION_END_UNBOUNDED_FOLLOWING   0x00080

Definition at line 431 of file parsenodes.h.

Referenced by eval_windowaggregates(), get_rule_windowspec(), and update_frametailpos().

#define FRAMEOPTION_END_UNBOUNDED_PRECEDING   0x00020

Definition at line 429 of file parsenodes.h.

#define FRAMEOPTION_END_VALUE   (FRAMEOPTION_END_VALUE_PRECEDING | FRAMEOPTION_END_VALUE_FOLLOWING)
#define FRAMEOPTION_END_VALUE_FOLLOWING   0x02000

Definition at line 437 of file parsenodes.h.

Referenced by get_rule_windowspec().

#define FRAMEOPTION_END_VALUE_PRECEDING   0x00800

Definition at line 435 of file parsenodes.h.

Referenced by get_rule_windowspec(), row_is_in_frame(), and update_frametailpos().

#define FRAMEOPTION_NONDEFAULT   0x00001

Definition at line 424 of file parsenodes.h.

Referenced by get_rule_windowspec().

#define FRAMEOPTION_RANGE   0x00002
#define FRAMEOPTION_ROWS   0x00004
#define FRAMEOPTION_START_CURRENT_ROW   0x00100

Definition at line 432 of file parsenodes.h.

Referenced by get_rule_windowspec(), row_is_in_frame(), and update_frameheadpos().

#define FRAMEOPTION_START_UNBOUNDED_FOLLOWING   0x00040

Definition at line 430 of file parsenodes.h.

#define FRAMEOPTION_START_UNBOUNDED_PRECEDING   0x00010
#define FRAMEOPTION_START_VALUE   (FRAMEOPTION_START_VALUE_PRECEDING | FRAMEOPTION_START_VALUE_FOLLOWING)
#define FRAMEOPTION_START_VALUE_FOLLOWING   0x01000

Definition at line 436 of file parsenodes.h.

Referenced by get_rule_windowspec().

#define FRAMEOPTION_START_VALUE_PRECEDING   0x00400

Definition at line 434 of file parsenodes.h.

Referenced by get_rule_windowspec(), row_is_in_frame(), and update_frameheadpos().

#define GetCTETargetList (   cte  ) 
Value:
(AssertMacro(IsA((cte)->ctequery, Query)), \
     ((Query *) (cte)->ctequery)->commandType == CMD_SELECT ? \
     ((Query *) (cte)->ctequery)->targetList : \
     ((Query *) (cte)->ctequery)->returningList)

Definition at line 937 of file parsenodes.h.

Referenced by analyzeCTE(), expandRecordVariable(), get_name_for_var_field(), and markTargetListOrigin().

#define N_ACL_RIGHTS   12

Definition at line 75 of file parsenodes.h.

Referenced by aclexplode(), and aclitemout().

#define OPCLASS_ITEM_FUNCTION   2

Definition at line 1903 of file parsenodes.h.

Referenced by AlterOpFamilyAdd(), AlterOpFamilyDrop(), and DefineOpClass().

#define OPCLASS_ITEM_OPERATOR   1

Definition at line 1902 of file parsenodes.h.

Referenced by AlterOpFamilyAdd(), AlterOpFamilyDrop(), and DefineOpClass().

#define OPCLASS_ITEM_STORAGETYPE   3

Definition at line 1904 of file parsenodes.h.

Referenced by AlterOpFamilyAdd(), AlterOpFamilyDrop(), and DefineOpClass().


Typedef Documentation

typedef struct A_ArrayExpr A_ArrayExpr
typedef struct A_Const A_Const
typedef struct A_Expr A_Expr
typedef enum A_Expr_Kind A_Expr_Kind
typedef struct A_Indices A_Indices
typedef struct A_Indirection A_Indirection
typedef struct A_Star A_Star
typedef struct AccessPriv AccessPriv
typedef uint32 AclMode

Definition at line 60 of file parsenodes.h.

typedef struct AlterEnumStmt AlterEnumStmt
typedef struct AlterFdwStmt AlterFdwStmt
typedef struct AlterRoleStmt AlterRoleStmt
typedef struct AlterSeqStmt AlterSeqStmt
typedef struct AlterTableCmd AlterTableCmd
typedef struct ClusterStmt ClusterStmt
typedef struct CollateClause CollateClause
typedef struct ColumnDef ColumnDef
typedef struct ColumnRef ColumnRef
typedef struct CommentStmt CommentStmt
typedef struct Constraint Constraint
typedef enum ConstrType ConstrType
typedef struct CopyStmt CopyStmt
typedef struct CreatedbStmt CreatedbStmt
typedef struct CreateFdwStmt CreateFdwStmt
typedef struct CreateSeqStmt CreateSeqStmt
typedef struct CreateStmt CreateStmt
typedef struct DefElem DefElem
typedef struct DefineStmt DefineStmt
typedef struct DeleteStmt DeleteStmt
typedef enum DiscardMode DiscardMode
typedef struct DiscardStmt DiscardStmt
typedef struct DoStmt DoStmt
typedef enum DropBehavior DropBehavior
typedef struct DropdbStmt DropdbStmt
typedef struct DropOwnedStmt DropOwnedStmt
typedef struct DropRoleStmt DropRoleStmt
typedef struct DropStmt DropStmt
typedef struct ExecuteStmt ExecuteStmt
typedef struct ExplainStmt ExplainStmt
typedef struct FetchStmt FetchStmt
typedef struct FuncCall FuncCall
typedef struct FuncWithArgs FuncWithArgs
typedef struct GrantRoleStmt GrantRoleStmt
typedef struct GrantStmt GrantStmt
typedef struct IndexElem IndexElem
typedef struct IndexStmt IndexStmt
typedef struct InsertStmt InsertStmt
typedef struct ListenStmt ListenStmt
typedef struct LoadStmt LoadStmt
typedef struct LockingClause LockingClause
typedef struct LockStmt LockStmt
typedef struct NotifyStmt NotifyStmt
typedef enum ObjectType ObjectType
typedef struct ParamRef ParamRef
typedef struct PrepareStmt PrepareStmt
typedef struct PrivGrantee PrivGrantee
typedef struct Query Query
typedef enum QuerySource QuerySource
typedef struct RangeFunction RangeFunction
typedef struct RangeTblEntry RangeTblEntry
typedef struct ReindexStmt ReindexStmt
typedef struct RenameStmt RenameStmt
typedef struct ResTarget ResTarget
typedef enum RoleStmtType RoleStmtType
typedef struct RowMarkClause RowMarkClause
typedef enum RTEKind RTEKind
typedef struct RuleStmt RuleStmt
typedef struct SecLabelStmt SecLabelStmt
typedef struct SelectStmt SelectStmt
typedef enum SetOperation SetOperation
typedef struct SortBy SortBy
typedef enum SortByDir SortByDir
typedef enum SortByNulls SortByNulls
typedef struct TruncateStmt TruncateStmt
typedef struct TypeCast TypeCast
typedef struct TypeName TypeName
typedef struct UnlistenStmt UnlistenStmt
typedef struct UpdateStmt UpdateStmt
typedef enum VacuumOption VacuumOption
typedef struct VacuumStmt VacuumStmt
typedef struct ViewStmt ViewStmt
typedef struct WindowClause WindowClause
typedef struct WindowDef WindowDef
typedef struct WithClause WithClause
typedef struct XmlSerialize XmlSerialize

Enumeration Type Documentation

Enumerator:
AEXPR_OP 
AEXPR_AND 
AEXPR_OR 
AEXPR_NOT 
AEXPR_OP_ANY 
AEXPR_OP_ALL 
AEXPR_DISTINCT 
AEXPR_NULLIF 
AEXPR_OF 
AEXPR_IN 

Definition at line 223 of file parsenodes.h.

{
    AEXPR_OP,                   /* normal operator */
    AEXPR_AND,                  /* booleans - name field is unused */
    AEXPR_OR,
    AEXPR_NOT,
    AEXPR_OP_ANY,               /* scalar op ANY (array) */
    AEXPR_OP_ALL,               /* scalar op ALL (array) */
    AEXPR_DISTINCT,             /* IS DISTINCT FROM - name must be "=" */
    AEXPR_NULLIF,               /* NULLIF - name must be "=" */
    AEXPR_OF,                   /* IS [NOT] OF - name must be "=" or "<>" */
    AEXPR_IN                    /* [NOT] IN - name must be "=" or "<>" */
} A_Expr_Kind;

Enumerator:
AT_AddColumn 
AT_AddColumnRecurse 
AT_AddColumnToView 
AT_ColumnDefault 
AT_DropNotNull 
AT_SetNotNull 
AT_SetStatistics 
AT_SetOptions 
AT_ResetOptions 
AT_SetStorage 
AT_DropColumn 
AT_DropColumnRecurse 
AT_AddIndex 
AT_ReAddIndex 
AT_AddConstraint 
AT_AddConstraintRecurse 
AT_ReAddConstraint 
AT_ValidateConstraint 
AT_ValidateConstraintRecurse 
AT_ProcessedConstraint 
AT_AddIndexConstraint 
AT_DropConstraint 
AT_DropConstraintRecurse 
AT_AlterColumnType 
AT_AlterColumnGenericOptions 
AT_ChangeOwner 
AT_ClusterOn 
AT_DropCluster 
AT_AddOids 
AT_AddOidsRecurse 
AT_DropOids 
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_GenericOptions 

Definition at line 1193 of file parsenodes.h.

{
    AT_AddColumn,               /* add column */
    AT_AddColumnRecurse,        /* internal to commands/tablecmds.c */
    AT_AddColumnToView,         /* implicitly via CREATE OR REPLACE VIEW */
    AT_ColumnDefault,           /* alter column default */
    AT_DropNotNull,             /* alter column drop not null */
    AT_SetNotNull,              /* alter column set not null */
    AT_SetStatistics,           /* alter column set statistics */
    AT_SetOptions,              /* alter column set ( options ) */
    AT_ResetOptions,            /* alter column reset ( options ) */
    AT_SetStorage,              /* alter column set storage */
    AT_DropColumn,              /* drop column */
    AT_DropColumnRecurse,       /* internal to commands/tablecmds.c */
    AT_AddIndex,                /* add index */
    AT_ReAddIndex,              /* internal to commands/tablecmds.c */
    AT_AddConstraint,           /* add constraint */
    AT_AddConstraintRecurse,    /* internal to commands/tablecmds.c */
    AT_ReAddConstraint,         /* internal to commands/tablecmds.c */
    AT_ValidateConstraint,      /* validate constraint */
    AT_ValidateConstraintRecurse,       /* internal to commands/tablecmds.c */
    AT_ProcessedConstraint,     /* pre-processed add constraint (local in
                                 * parser/parse_utilcmd.c) */
    AT_AddIndexConstraint,      /* add constraint using existing index */
    AT_DropConstraint,          /* drop constraint */
    AT_DropConstraintRecurse,   /* internal to commands/tablecmds.c */
    AT_AlterColumnType,         /* alter column type */
    AT_AlterColumnGenericOptions,       /* alter column OPTIONS (...) */
    AT_ChangeOwner,             /* change owner */
    AT_ClusterOn,               /* CLUSTER ON */
    AT_DropCluster,             /* SET WITHOUT CLUSTER */
    AT_AddOids,                 /* SET WITH OIDS */
    AT_AddOidsRecurse,          /* internal to commands/tablecmds.c */
    AT_DropOids,                /* SET WITHOUT OIDS */
    AT_SetTableSpace,           /* SET TABLESPACE */
    AT_SetRelOptions,           /* SET (...) -- AM specific parameters */
    AT_ResetRelOptions,         /* RESET (...) -- AM specific parameters */
    AT_ReplaceRelOptions,       /* replace reloption list in its entirety */
    AT_EnableTrig,              /* ENABLE TRIGGER name */
    AT_EnableAlwaysTrig,        /* ENABLE ALWAYS TRIGGER name */
    AT_EnableReplicaTrig,       /* ENABLE REPLICA TRIGGER name */
    AT_DisableTrig,             /* DISABLE TRIGGER name */
    AT_EnableTrigAll,           /* ENABLE TRIGGER ALL */
    AT_DisableTrigAll,          /* DISABLE TRIGGER ALL */
    AT_EnableTrigUser,          /* ENABLE TRIGGER USER */
    AT_DisableTrigUser,         /* DISABLE TRIGGER USER */
    AT_EnableRule,              /* ENABLE RULE name */
    AT_EnableAlwaysRule,        /* ENABLE ALWAYS RULE name */
    AT_EnableReplicaRule,       /* ENABLE REPLICA RULE name */
    AT_DisableRule,             /* DISABLE RULE name */
    AT_AddInherit,              /* INHERIT parent */
    AT_DropInherit,             /* NO INHERIT parent */
    AT_AddOf,                   /* OF <type_name> */
    AT_DropOf,                  /* NOT OF */
    AT_GenericOptions           /* OPTIONS (...) */
} AlterTableType;

enum ConstrType
Enumerator:
CONSTR_NULL 
CONSTR_NOTNULL 
CONSTR_DEFAULT 
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 1509 of file parsenodes.h.

{
    CONSTR_NULL,                /* not standard SQL, but a lot of people expect it */
    CONSTR_NOTNULL,
    CONSTR_DEFAULT,
    CONSTR_CHECK,
    CONSTR_PRIMARY,
    CONSTR_UNIQUE,
    CONSTR_EXCLUSION,
    CONSTR_FOREIGN,
    CONSTR_ATTR_DEFERRABLE,     /* attributes for previous constraint node */
    CONSTR_ATTR_NOT_DEFERRABLE,
    CONSTR_ATTR_DEFERRED,
    CONSTR_ATTR_IMMEDIATE
} ConstrType;

Enumerator:
DEFELEM_UNSPEC 
DEFELEM_SET 
DEFELEM_ADD 
DEFELEM_DROP 

Definition at line 557 of file parsenodes.h.

{
    DEFELEM_UNSPEC,             /* no action given */
    DEFELEM_SET,
    DEFELEM_ADD,
    DEFELEM_DROP
} DefElemAction;

Enumerator:
DISCARD_ALL 
DISCARD_PLANS 
DISCARD_TEMP 

Definition at line 2492 of file parsenodes.h.

{
    DISCARD_ALL,
    DISCARD_PLANS,
    DISCARD_TEMP
} DiscardMode;

Enumerator:
DROP_RESTRICT 
DROP_CASCADE 

Definition at line 1174 of file parsenodes.h.

{
    DROP_RESTRICT,              /* drop fails if any dependent objects */
    DROP_CASCADE                /* remove dependent objects too */
} DropBehavior;

Enumerator:
FETCH_FORWARD 
FETCH_BACKWARD 
FETCH_ABSOLUTE 
FETCH_RELATIVE 

Definition at line 2040 of file parsenodes.h.

{
    /* for these, howMany is how many rows to fetch; FETCH_ALL means ALL */
    FETCH_FORWARD,
    FETCH_BACKWARD,
    /* for these, howMany indicates a position; only one row is fetched */
    FETCH_ABSOLUTE,
    FETCH_RELATIVE
} FetchDirection;

Enumerator:
FUNC_PARAM_IN 
FUNC_PARAM_OUT 
FUNC_PARAM_INOUT 
FUNC_PARAM_VARIADIC 
FUNC_PARAM_TABLE 

Definition at line 2109 of file parsenodes.h.

{
    /* the assigned enum values appear in pg_proc, don't change 'em! */
    FUNC_PARAM_IN = 'i',        /* input only */
    FUNC_PARAM_OUT = 'o',       /* output only */
    FUNC_PARAM_INOUT = 'b',     /* both */
    FUNC_PARAM_VARIADIC = 'v',  /* variadic (always input) */
    FUNC_PARAM_TABLE = 't'      /* table function output column */
} FunctionParameterMode;

Enumerator:
ACL_OBJECT_COLUMN 
ACL_OBJECT_RELATION 
ACL_OBJECT_SEQUENCE 
ACL_OBJECT_DATABASE 
ACL_OBJECT_DOMAIN 
ACL_OBJECT_FDW 
ACL_OBJECT_FOREIGN_SERVER 
ACL_OBJECT_FUNCTION 
ACL_OBJECT_LANGUAGE 
ACL_OBJECT_LARGEOBJECT 
ACL_OBJECT_NAMESPACE 
ACL_OBJECT_TABLESPACE 
ACL_OBJECT_TYPE 

Definition at line 1300 of file parsenodes.h.

{
    ACL_OBJECT_COLUMN,          /* column */
    ACL_OBJECT_RELATION,        /* table, view */
    ACL_OBJECT_SEQUENCE,        /* sequence */
    ACL_OBJECT_DATABASE,        /* database */
    ACL_OBJECT_DOMAIN,          /* domain */
    ACL_OBJECT_FDW,             /* foreign-data wrapper */
    ACL_OBJECT_FOREIGN_SERVER,  /* foreign server */
    ACL_OBJECT_FUNCTION,        /* function */
    ACL_OBJECT_LANGUAGE,        /* procedural language */
    ACL_OBJECT_LARGEOBJECT,     /* largeobject */
    ACL_OBJECT_NAMESPACE,       /* namespace */
    ACL_OBJECT_TABLESPACE,      /* tablespace */
    ACL_OBJECT_TYPE             /* type */
} GrantObjectType;

Enumerator:
ACL_TARGET_OBJECT 
ACL_TARGET_ALL_IN_SCHEMA 
ACL_TARGET_DEFAULTS 

Definition at line 1293 of file parsenodes.h.

{
    ACL_TARGET_OBJECT,          /* grant on specific named object(s) */
    ACL_TARGET_ALL_IN_SCHEMA,   /* grant on all objects in given schema(s) */
    ACL_TARGET_DEFAULTS         /* ALTER DEFAULT PRIVILEGES */
} GrantTargetType;

Enumerator:
LCS_FORKEYSHARE 
LCS_FORSHARE 
LCS_FORNOKEYUPDATE 
LCS_FORUPDATE 

Definition at line 583 of file parsenodes.h.

{
    /* order is important -- see applyLockingClause */
    LCS_FORKEYSHARE,
    LCS_FORSHARE,
    LCS_FORNOKEYUPDATE,
    LCS_FORUPDATE
} LockClauseStrength;

enum ObjectType
Enumerator:
OBJECT_AGGREGATE 
OBJECT_ATTRIBUTE 
OBJECT_CAST 
OBJECT_COLUMN 
OBJECT_CONSTRAINT 
OBJECT_COLLATION 
OBJECT_CONVERSION 
OBJECT_DATABASE 
OBJECT_DOMAIN 
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_ROLE 
OBJECT_RULE 
OBJECT_SCHEMA 
OBJECT_SEQUENCE 
OBJECT_TABLE 
OBJECT_TABLESPACE 
OBJECT_TRIGGER 
OBJECT_TSCONFIGURATION 
OBJECT_TSDICTIONARY 
OBJECT_TSPARSER 
OBJECT_TSTEMPLATE 
OBJECT_TYPE 
OBJECT_VIEW 

Definition at line 1118 of file parsenodes.h.

{
    OBJECT_AGGREGATE,
    OBJECT_ATTRIBUTE,           /* type's attribute, when distinct from column */
    OBJECT_CAST,
    OBJECT_COLUMN,
    OBJECT_CONSTRAINT,
    OBJECT_COLLATION,
    OBJECT_CONVERSION,
    OBJECT_DATABASE,
    OBJECT_DOMAIN,
    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_ROLE,
    OBJECT_RULE,
    OBJECT_SCHEMA,
    OBJECT_SEQUENCE,
    OBJECT_TABLE,
    OBJECT_TABLESPACE,
    OBJECT_TRIGGER,
    OBJECT_TSCONFIGURATION,
    OBJECT_TSDICTIONARY,
    OBJECT_TSPARSER,
    OBJECT_TSTEMPLATE,
    OBJECT_TYPE,
    OBJECT_VIEW
} ObjectType;

Enumerator:
QSRC_ORIGINAL 
QSRC_PARSER 
QSRC_INSTEAD_RULE 
QSRC_QUAL_INSTEAD_RULE 
QSRC_NON_INSTEAD_RULE 

Definition at line 28 of file parsenodes.h.

{
    QSRC_ORIGINAL,              /* original parsetree (explicit query) */
    QSRC_PARSER,                /* added by parse analysis (now unused) */
    QSRC_INSTEAD_RULE,          /* added by unconditional INSTEAD rule */
    QSRC_QUAL_INSTEAD_RULE,     /* added by conditional INSTEAD rule */
    QSRC_NON_INSTEAD_RULE       /* added by non-INSTEAD rule */
} QuerySource;

Enumerator:
ROLESTMT_ROLE 
ROLESTMT_USER 
ROLESTMT_GROUP 

Definition at line 1801 of file parsenodes.h.

{
    ROLESTMT_ROLE,
    ROLESTMT_USER,
    ROLESTMT_GROUP
} RoleStmtType;

enum RTEKind
Enumerator:
RTE_RELATION 
RTE_SUBQUERY 
RTE_JOIN 
RTE_FUNCTION 
RTE_VALUES 
RTE_CTE 

Definition at line 689 of file parsenodes.h.

{
    RTE_RELATION,               /* ordinary relation reference */
    RTE_SUBQUERY,               /* subquery in FROM */
    RTE_JOIN,                   /* join */
    RTE_FUNCTION,               /* function in FROM */
    RTE_VALUES,                 /* VALUES (<exprlist>), (<exprlist>), ... */
    RTE_CTE                     /* common table expr (WITH list element) */
} RTEKind;

Enumerator:
SETOP_NONE 
SETOP_UNION 
SETOP_INTERSECT 
SETOP_EXCEPT 

Definition at line 1008 of file parsenodes.h.

{
    SETOP_NONE = 0,
    SETOP_UNION,
    SETOP_INTERSECT,
    SETOP_EXCEPT
} SetOperation;

enum SortByDir
Enumerator:
SORTBY_DEFAULT 
SORTBY_ASC 
SORTBY_DESC 
SORTBY_USING 

Definition at line 38 of file parsenodes.h.

{
    SORTBY_DEFAULT,
    SORTBY_ASC,
    SORTBY_DESC,
    SORTBY_USING                /* not allowed in CREATE INDEX ... */
} SortByDir;

Enumerator:
SORTBY_NULLS_DEFAULT 
SORTBY_NULLS_FIRST 
SORTBY_NULLS_LAST 

Definition at line 46 of file parsenodes.h.

{
    SORTBY_NULLS_DEFAULT,
    SORTBY_NULLS_FIRST,
    SORTBY_NULLS_LAST
} SortByNulls;

Enumerator:
CREATE_TABLE_LIKE_DEFAULTS 
CREATE_TABLE_LIKE_CONSTRAINTS 
CREATE_TABLE_LIKE_INDEXES 
CREATE_TABLE_LIKE_STORAGE 
CREATE_TABLE_LIKE_COMMENTS 
CREATE_TABLE_LIKE_ALL 

Definition at line 518 of file parsenodes.h.

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

{
    TRANS_STMT_BEGIN,
    TRANS_STMT_START,           /* semantically identical to BEGIN */
    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
} TransactionStmtKind;

Enumerator:
VACOPT_VACUUM 
VACOPT_ANALYZE 
VACOPT_VERBOSE 
VACOPT_FREEZE 
VACOPT_FULL 
VACOPT_NOWAIT 

Definition at line 2410 of file parsenodes.h.

{
    VACOPT_VACUUM = 1 << 0,     /* do VACUUM */
    VACOPT_ANALYZE = 1 << 1,    /* do ANALYZE */
    VACOPT_VERBOSE = 1 << 2,    /* print progress info */
    VACOPT_FREEZE = 1 << 3,     /* FREEZE option */
    VACOPT_FULL = 1 << 4,       /* FULL (non-concurrent) vacuum */
    VACOPT_NOWAIT = 1 << 5      /* don't wait to get lock (autovacuum only) */
} VacuumOption;

Enumerator:
VAR_SET_VALUE 
VAR_SET_DEFAULT 
VAR_SET_CURRENT 
VAR_SET_MULTI 
VAR_RESET 
VAR_RESET_ALL 

Definition at line 1423 of file parsenodes.h.

{
    VAR_SET_VALUE,              /* SET var = value */
    VAR_SET_DEFAULT,            /* SET var TO DEFAULT */
    VAR_SET_CURRENT,            /* SET var FROM CURRENT */
    VAR_SET_MULTI,              /* special case for SET TRANSACTION ... */
    VAR_RESET,                  /* RESET var */
    VAR_RESET_ALL               /* RESET ALL */
} VariableSetKind;