PostgreSQL Source Code  git master
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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
 
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 2753 of file parsenodes.h.

Field Documentation

◆ access_method

char* Constraint::access_method

Definition at line 2781 of file parsenodes.h.

Referenced by transformIndexConstraint().

◆ conname

◆ contype

◆ cooked_expr

char* Constraint::cooked_expr

◆ deferrable

◆ exclusions

List* Constraint::exclusions

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

Referenced by addFkRecurseReferencing(), and ATAddForeignKeyConstraint().

◆ generated_when

char Constraint::generated_when

Definition at line 2767 of file parsenodes.h.

Referenced by transformAlterTableStmt().

◆ including

List* Constraint::including

Definition at line 2772 of file parsenodes.h.

Referenced by transformIndexConstraint().

◆ indexname

char* Constraint::indexname

Definition at line 2777 of file parsenodes.h.

Referenced by transformIndexConstraint().

◆ indexspace

char* Constraint::indexspace

Definition at line 2778 of file parsenodes.h.

Referenced by transformIndexConstraint().

◆ initdeferred

◆ initially_valid

◆ is_no_inherit

◆ keys

◆ location

◆ nulls_not_distinct

bool Constraint::nulls_not_distinct

Definition at line 2768 of file parsenodes.h.

Referenced by transformIndexConstraint().

◆ old_conpfeqop

◆ old_pktable_oid

Oid Constraint::old_pktable_oid

◆ options

List* Constraint::options

Definition at line 2776 of file parsenodes.h.

Referenced by transformAlterTableStmt(), and transformIndexConstraint().

◆ pk_attrs

List* Constraint::pk_attrs

◆ pk_with_period

bool Constraint::pk_with_period

Definition at line 2789 of file parsenodes.h.

Referenced by ATAddForeignKeyConstraint().

◆ pktable

RangeVar* Constraint::pktable

◆ raw_expr

◆ reset_default_tblspc

bool Constraint::reset_default_tblspc

Definition at line 2779 of file parsenodes.h.

Referenced by ATPostAlterTypeParse(), and transformIndexConstraint().

◆ skip_validation

◆ type

NodeTag Constraint::type

Definition at line 2755 of file parsenodes.h.

◆ where_clause

Node* Constraint::where_clause

Definition at line 2782 of file parsenodes.h.

Referenced by transformIndexConstraint().

◆ without_overlaps

bool Constraint::without_overlaps

Definition at line 2771 of file parsenodes.h.

Referenced by transformIndexConstraint().


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