PostgreSQL Source Code: Constraint Struct Reference (original) (raw)

#include <[parsenodes.h](parsenodes%5F8h%5Fsource.html)>

Data Fields
NodeTag type
ConstrType contype
char * conname
bool deferrable
bool initdeferred
bool is_enforced
bool skip_validation
bool initially_valid
bool is_no_inherit
Node * raw_expr
char * cooked_expr
char generated_when
char generated_kind
bool nulls_not_distinct
List * keys
bool without_overlaps
List * including
List * exclusions
List * options
char * indexname
char * indexspace
bool reset_default_tblspc
char * access_method
Node * where_clause
RangeVar * pktable
List * fk_attrs
List * pk_attrs
bool fk_with_period
bool pk_with_period
char fk_matchtype
char fk_upd_action
char fk_del_action
List * fk_del_set_cols
List * old_conpfeqop
Oid old_pktable_oid
ParseLoc location

Definition at line 2819 of file parsenodes.h.

access_method

char* Constraint::access_method

conname

char* Constraint::conname

Definition at line 2823 of file parsenodes.h.

Referenced by addFkConstraint(), addFkRecurseReferenced(), addFkRecurseReferencing(), AddRelationNotNullConstraints(), ATAddCheckNNConstraint(), ATAddForeignKeyConstraint(), ATExecAddConstraint(), ATExecAlterConstrEnforceability(), ATExecSetNotNull(), ATPostAlterTypeParse(), ATRewriteTables(), CloneFkReferenced(), DetachAddConstraintIfNeeded(), DetachPartitionFinalize(), domainAddCheckConstraint(), domainAddNotNullConstraint(), expandTableLikeClause(), makeNotNullConstraint(), QueueFKConstraintValidation(), RelationGetNotNullConstraints(), transformColumnDefinition(), and transformIndexConstraint().

contype

Definition at line 2822 of file parsenodes.h.

Referenced by AddRelationNotNullConstraints(), AlterDomainAddConstraint(), AlterDomainNotNull(), AlterTableGetLockLevel(), ATAddCheckNNConstraint(), ATExecAddConstraint(), ATPostAlterTypeParse(), ATPrepAddPrimaryKey(), CloneFkReferenced(), CloneFkReferencing(), DefineDomain(), DetachAddConstraintIfNeeded(), DetachPartitionFinalize(), domainAddCheckConstraint(), domainAddNotNullConstraint(), expandTableLikeClause(), makeNotNullConstraint(), RelationGetNotNullConstraints(), transformColumnDefinition(), transformConstraintAttrs(), transformIndexConstraint(), transformIndexConstraints(), transformTableConstraint(), and TryReuseForeignKey().

cooked_expr

char* Constraint::cooked_expr

deferrable

bool Constraint::deferrable

exclusions

List* Constraint::exclusions

fk_attrs

List* Constraint::fk_attrs

fk_del_action

char Constraint::fk_del_action

fk_del_set_cols

List* Constraint::fk_del_set_cols

fk_matchtype

char Constraint::fk_matchtype

fk_upd_action

char Constraint::fk_upd_action

fk_with_period

bool Constraint::fk_with_period

generated_kind

char Constraint::generated_kind

generated_when

char Constraint::generated_when

including

List* Constraint::including

indexname

char* Constraint::indexname

indexspace

char* Constraint::indexspace

initdeferred

bool Constraint::initdeferred

initially_valid

bool Constraint::initially_valid

Definition at line 2828 of file parsenodes.h.

Referenced by addFkConstraint(), AlterDomainNotNull(), CloneFkReferenced(), CloneFkReferencing(), DetachAddConstraintIfNeeded(), DetachPartitionFinalize(), expandTableLikeClause(), makeNotNullConstraint(), RelationGetNotNullConstraints(), transformCheckConstraints(), transformConstraintAttrs(), and transformFKConstraints().

is_enforced

bool Constraint::is_enforced

Definition at line 2826 of file parsenodes.h.

Referenced by addFkConstraint(), addFkRecurseReferenced(), addFkRecurseReferencing(), CloneFkReferenced(), CloneFkReferencing(), DetachAddConstraintIfNeeded(), DetachPartitionFinalize(), expandTableLikeClause(), makeNotNullConstraint(), RelationGetNotNullConstraints(), transformCheckConstraints(), transformConstraintAttrs(), and transformFKConstraints().

is_no_inherit

bool Constraint::is_no_inherit

keys

location

Definition at line 2866 of file parsenodes.h.

Referenced by AlterDomainNotNull(), CloneFkReferenced(), CloneFkReferencing(), DefineDomain(), DetachAddConstraintIfNeeded(), DetachPartitionFinalize(), expandTableLikeClause(), makeNotNullConstraint(), RelationGetNotNullConstraints(), transformColumnDefinition(), transformConstraintAttrs(), transformIndexConstraint(), and transformTableConstraint().

nulls_not_distinct

bool Constraint::nulls_not_distinct

old_conpfeqop

List* Constraint::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

pktable

raw_expr

Node* Constraint::raw_expr

reset_default_tblspc

bool Constraint::reset_default_tblspc

skip_validation

bool Constraint::skip_validation

Definition at line 2827 of file parsenodes.h.

Referenced by addFkRecurseReferencing(), AlterDomainAddConstraint(), ATAddCheckNNConstraint(), CloneFkReferenced(), CloneFkReferencing(), DetachAddConstraintIfNeeded(), DetachPartitionFinalize(), domainAddCheckConstraint(), domainAddNotNullConstraint(), expandTableLikeClause(), makeNotNullConstraint(), RelationGetNotNullConstraints(), transformCheckConstraints(), transformConstraintAttrs(), and transformFKConstraints().

type

where_clause

Node* Constraint::where_clause

without_overlaps

bool Constraint::without_overlaps


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