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

Field Documentation

◆ access_method

char* Constraint::access_method

Definition at line 2159 of file parsenodes.h.

Referenced by transformIndexConstraint().

◆ conname

◆ contype

◆ cooked_expr

char* Constraint::cooked_expr

◆ deferrable

◆ exclusions

List* Constraint::exclusions

Definition at line 2150 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 2141 of file parsenodes.h.

Referenced by transformAlterTableStmt(), and transformColumnDefinition().

◆ including

List* Constraint::including

Definition at line 2146 of file parsenodes.h.

Referenced by transformIndexConstraint().

◆ indexname

char* Constraint::indexname

Definition at line 2154 of file parsenodes.h.

Referenced by transformIndexConstraint().

◆ indexspace

char* Constraint::indexspace

Definition at line 2155 of file parsenodes.h.

Referenced by transformIndexConstraint().

◆ initdeferred

◆ initially_valid

◆ is_no_inherit

bool Constraint::is_no_inherit

Definition at line 2138 of file parsenodes.h.

Referenced by AddRelationNewConstraints(), ATAddCheckConstraint(), and DefineDomain().

◆ keys

List* Constraint::keys

Definition at line 2144 of file parsenodes.h.

Referenced by transformColumnDefinition(), and transformIndexConstraint().

◆ location

◆ old_conpfeqop

List* Constraint::old_conpfeqop

Definition at line 2169 of file parsenodes.h.

Referenced by ATAddForeignKeyConstraint(), and TryReuseForeignKey().

◆ old_pktable_oid

Oid Constraint::old_pktable_oid

Definition at line 2170 of file parsenodes.h.

Referenced by ATAddForeignKeyConstraint(), and ATPostAlterTypeParse().

◆ options

List* Constraint::options

◆ pk_attrs

List* Constraint::pk_attrs

Definition at line 2165 of file parsenodes.h.

Referenced by ATAddForeignKeyConstraint(), and ConvertTriggerToFK().

◆ pktable

RangeVar* Constraint::pktable

Definition at line 2163 of file parsenodes.h.

Referenced by ATAddForeignKeyConstraint(), and ConvertTriggerToFK().

◆ raw_expr

◆ reset_default_tblspc

bool Constraint::reset_default_tblspc

Definition at line 2156 of file parsenodes.h.

Referenced by ATPostAlterTypeParse(), and transformIndexConstraint().

◆ skip_validation

◆ type

NodeTag Constraint::type

Definition at line 2128 of file parsenodes.h.

◆ where_clause

Node* Constraint::where_clause

Definition at line 2160 of file parsenodes.h.

Referenced by transformIndexConstraint().


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