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
 
bool nulls_not_distinct
 
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
 
Listfk_del_set_cols
 
Listold_conpfeqop
 
Oid old_pktable_oid
 
bool skip_validation
 
bool initially_valid
 

Detailed Description

Definition at line 2608 of file parsenodes.h.

Field Documentation

◆ access_method

char* Constraint::access_method

Definition at line 2642 of file parsenodes.h.

Referenced by transformIndexConstraint().

◆ conname

◆ contype

◆ cooked_expr

char* Constraint::cooked_expr

◆ deferrable

◆ exclusions

List* Constraint::exclusions

Definition at line 2633 of file parsenodes.h.

Referenced by transformIndexConstraint().

◆ fk_attrs

◆ fk_del_action

◆ fk_del_set_cols

List* Constraint::fk_del_set_cols

Definition at line 2652 of file parsenodes.h.

Referenced by ATAddForeignKeyConstraint().

◆ fk_matchtype

char Constraint::fk_matchtype

◆ fk_upd_action

◆ generated_when

char Constraint::generated_when

Definition at line 2623 of file parsenodes.h.

Referenced by transformAlterTableStmt(), and transformColumnDefinition().

◆ including

List* Constraint::including

Definition at line 2629 of file parsenodes.h.

Referenced by transformIndexConstraint().

◆ indexname

char* Constraint::indexname

Definition at line 2637 of file parsenodes.h.

Referenced by transformIndexConstraint().

◆ indexspace

char* Constraint::indexspace

Definition at line 2638 of file parsenodes.h.

Referenced by transformIndexConstraint().

◆ initdeferred

◆ initially_valid

◆ is_no_inherit

◆ keys

List* Constraint::keys

Definition at line 2627 of file parsenodes.h.

Referenced by transformColumnDefinition(), and transformIndexConstraint().

◆ location

◆ nulls_not_distinct

bool Constraint::nulls_not_distinct

Definition at line 2626 of file parsenodes.h.

Referenced by transformIndexConstraint().

◆ old_conpfeqop

List* Constraint::old_conpfeqop

Definition at line 2653 of file parsenodes.h.

Referenced by ATAddForeignKeyConstraint(), and TryReuseForeignKey().

◆ old_pktable_oid

Oid Constraint::old_pktable_oid

Definition at line 2654 of file parsenodes.h.

Referenced by ATAddForeignKeyConstraint(), and ATPostAlterTypeParse().

◆ options

List* Constraint::options

◆ pk_attrs

List* Constraint::pk_attrs

Definition at line 2648 of file parsenodes.h.

Referenced by ATAddForeignKeyConstraint().

◆ pktable

RangeVar* Constraint::pktable

Definition at line 2646 of file parsenodes.h.

Referenced by ATAddForeignKeyConstraint().

◆ raw_expr

◆ reset_default_tblspc

bool Constraint::reset_default_tblspc

Definition at line 2639 of file parsenodes.h.

Referenced by ATPostAlterTypeParse(), and transformIndexConstraint().

◆ skip_validation

◆ type

NodeTag Constraint::type

Definition at line 2610 of file parsenodes.h.

◆ where_clause

Node* Constraint::where_clause

Definition at line 2643 of file parsenodes.h.

Referenced by transformIndexConstraint().


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