PostgreSQL Source Code  git master
Constraint Struct Reference

#include <parsenodes.h>

Data Fields

NodeTag type
 
ConstrType contype
 
char * conname
 
bool deferrable
 
bool initdeferred
 
int location
 
bool is_no_inherit
 
Noderaw_expr
 
char * cooked_expr
 
char generated_when
 
Listkeys
 
Listincluding
 
Listexclusions
 
Listoptions
 
char * indexname
 
char * indexspace
 
bool reset_default_tblspc
 
char * access_method
 
Nodewhere_clause
 
RangeVarpktable
 
Listfk_attrs
 
Listpk_attrs
 
char fk_matchtype
 
char fk_upd_action
 
char fk_del_action
 
Listold_conpfeqop
 
Oid old_pktable_oid
 
bool skip_validation
 
bool initially_valid
 

Detailed Description

Definition at line 2149 of file parsenodes.h.

Field Documentation

◆ access_method

char* Constraint::access_method

Definition at line 2182 of file parsenodes.h.

Referenced by transformIndexConstraint().

◆ conname

◆ contype

◆ cooked_expr

char* Constraint::cooked_expr

◆ deferrable

◆ exclusions

List* Constraint::exclusions

Definition at line 2173 of file parsenodes.h.

Referenced by transformIndexConstraint().

◆ fk_attrs

◆ fk_del_action

◆ fk_matchtype

char Constraint::fk_matchtype

◆ fk_upd_action

◆ generated_when

char Constraint::generated_when

Definition at line 2164 of file parsenodes.h.

Referenced by transformAlterTableStmt(), and transformColumnDefinition().

◆ including

List* Constraint::including

Definition at line 2169 of file parsenodes.h.

Referenced by transformIndexConstraint().

◆ indexname

char* Constraint::indexname

Definition at line 2177 of file parsenodes.h.

Referenced by transformIndexConstraint().

◆ indexspace

char* Constraint::indexspace

Definition at line 2178 of file parsenodes.h.

Referenced by transformIndexConstraint().

◆ initdeferred

◆ initially_valid

◆ is_no_inherit

bool Constraint::is_no_inherit

◆ keys

List* Constraint::keys

Definition at line 2167 of file parsenodes.h.

Referenced by transformColumnDefinition(), and transformIndexConstraint().

◆ location

◆ old_conpfeqop

List* Constraint::old_conpfeqop

Definition at line 2192 of file parsenodes.h.

Referenced by ATAddForeignKeyConstraint(), and TryReuseForeignKey().

◆ old_pktable_oid

Oid Constraint::old_pktable_oid

Definition at line 2193 of file parsenodes.h.

Referenced by ATAddForeignKeyConstraint(), and ATPostAlterTypeParse().

◆ options

List* Constraint::options

◆ pk_attrs

List* Constraint::pk_attrs

Definition at line 2188 of file parsenodes.h.

Referenced by ATAddForeignKeyConstraint().

◆ pktable

RangeVar* Constraint::pktable

Definition at line 2186 of file parsenodes.h.

Referenced by ATAddForeignKeyConstraint().

◆ raw_expr

◆ reset_default_tblspc

bool Constraint::reset_default_tblspc

Definition at line 2179 of file parsenodes.h.

Referenced by ATPostAlterTypeParse(), and transformIndexConstraint().

◆ skip_validation

◆ type

NodeTag Constraint::type

Definition at line 2151 of file parsenodes.h.

◆ where_clause

Node* Constraint::where_clause

Definition at line 2183 of file parsenodes.h.

Referenced by transformIndexConstraint().


The documentation for this struct was generated from the following file: