PostgreSQL Source Code  git master
Constraint Struct Reference

#include <parsenodes.h>

Data Fields

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

Detailed Description

Definition at line 2650 of file parsenodes.h.

Field Documentation

◆ access_method

char* Constraint::access_method

Definition at line 2680 of file parsenodes.h.

Referenced by transformIndexConstraint().

◆ conname

◆ contype

◆ cooked_expr

char* Constraint::cooked_expr

◆ deferrable

◆ exclusions

List* Constraint::exclusions

Definition at line 2673 of file parsenodes.h.

Referenced by transformIndexConstraint().

◆ fk_attrs

◆ fk_del_action

◆ fk_del_set_cols

List* Constraint::fk_del_set_cols

◆ fk_matchtype

char Constraint::fk_matchtype

◆ fk_upd_action

◆ fk_with_period

bool Constraint::fk_with_period

Definition at line 2687 of file parsenodes.h.

Referenced by addFkRecurseReferencing(), and ATAddForeignKeyConstraint().

◆ generated_when

char Constraint::generated_when

Definition at line 2664 of file parsenodes.h.

Referenced by transformAlterTableStmt(), and transformColumnDefinition().

◆ including

List* Constraint::including

Definition at line 2671 of file parsenodes.h.

Referenced by transformIndexConstraint().

◆ indexname

char* Constraint::indexname

Definition at line 2676 of file parsenodes.h.

Referenced by transformIndexConstraint().

◆ indexspace

char* Constraint::indexspace

Definition at line 2677 of file parsenodes.h.

Referenced by transformIndexConstraint().

◆ inhcount

int Constraint::inhcount

◆ initdeferred

◆ initially_valid

◆ is_no_inherit

◆ keys

◆ location

◆ nulls_not_distinct

bool Constraint::nulls_not_distinct

Definition at line 2667 of file parsenodes.h.

Referenced by transformIndexConstraint().

◆ old_conpfeqop

◆ old_pktable_oid

Oid Constraint::old_pktable_oid

◆ options

List* Constraint::options

◆ pk_attrs

List* Constraint::pk_attrs

◆ pk_with_period

bool Constraint::pk_with_period

Definition at line 2688 of file parsenodes.h.

Referenced by ATAddForeignKeyConstraint().

◆ pktable

RangeVar* Constraint::pktable

◆ raw_expr

◆ reset_default_tblspc

bool Constraint::reset_default_tblspc

Definition at line 2678 of file parsenodes.h.

Referenced by ATPostAlterTypeParse(), and transformIndexConstraint().

◆ skip_validation

◆ type

NodeTag Constraint::type

Definition at line 2652 of file parsenodes.h.

◆ where_clause

Node* Constraint::where_clause

Definition at line 2681 of file parsenodes.h.

Referenced by transformIndexConstraint().

◆ without_overlaps

bool Constraint::without_overlaps

Definition at line 2670 of file parsenodes.h.

Referenced by transformIndexConstraint().


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