PostgreSQL Source Code  git master
Constraint Struct Reference

#include <parsenodes.h>

Public Member Functions

 pg_node_attr (custom_read_write) NodeTag type
 

Data Fields

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

Member Function Documentation

◆ pg_node_attr()

Constraint::pg_node_attr ( custom_read_write  )

Field Documentation

◆ access_method

char* Constraint::access_method

Definition at line 2587 of file parsenodes.h.

Referenced by transformIndexConstraint().

◆ conname

◆ contype

◆ cooked_expr

char* Constraint::cooked_expr

◆ deferrable

◆ exclusions

List* Constraint::exclusions

Definition at line 2578 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

◆ generated_when

char Constraint::generated_when

Definition at line 2568 of file parsenodes.h.

Referenced by transformAlterTableStmt(), and transformColumnDefinition().

◆ including

List* Constraint::including

Definition at line 2574 of file parsenodes.h.

Referenced by transformIndexConstraint().

◆ indexname

char* Constraint::indexname

Definition at line 2582 of file parsenodes.h.

Referenced by transformIndexConstraint().

◆ indexspace

char* Constraint::indexspace

Definition at line 2583 of file parsenodes.h.

Referenced by transformIndexConstraint().

◆ initdeferred

◆ initially_valid

◆ is_no_inherit

◆ keys

List* Constraint::keys

Definition at line 2572 of file parsenodes.h.

Referenced by transformColumnDefinition(), and transformIndexConstraint().

◆ location

◆ nulls_not_distinct

bool Constraint::nulls_not_distinct

Definition at line 2571 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

◆ pktable

RangeVar* Constraint::pktable

◆ raw_expr

◆ reset_default_tblspc

bool Constraint::reset_default_tblspc

Definition at line 2584 of file parsenodes.h.

Referenced by ATPostAlterTypeParse(), and transformIndexConstraint().

◆ skip_validation

◆ where_clause

Node* Constraint::where_clause

Definition at line 2588 of file parsenodes.h.

Referenced by transformIndexConstraint().


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