PostgreSQL Source Code git master
Data Fields
Constraint Struct Reference

#include <parsenodes.h>

Data Fields

 
 
char *  conname
 
bool  deferrable
 
bool  initdeferred
 
bool  is_enforced
 
 
 
bool  is_no_inherit
 
 
char *  cooked_expr
 
 
 
 
Listkeys
 
 
 
 
 
char *  indexname
 
char *  indexspace
 
 
char *  access_method
 
 
 
 
 
 
 
char  fk_matchtype
 
char  fk_upd_action
 
char  fk_del_action
 
 
 
 
 

Detailed Description

Definition at line 2830 of file parsenodes.h.

Field Documentation

access_method

char* Constraint::access_method

Definition at line 2860 of file parsenodes.h.

Referenced by transformIndexConstraint().

conname

char* Constraint::conname

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

ConstrType Constraint::contype

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

Definition at line 2843 of file parsenodes.h.

Referenced by DetachAddConstraintIfNeeded(), expandTableLikeClause(), and transformColumnDefinition().

deferrable

bool Constraint::deferrable

Definition at line 2835 of file parsenodes.h.

Referenced by addFkConstraint(), CloneFkReferenced(), CloneFkReferencing(), CreateFKCheckTrigger(), createForeignKeyActionTriggers(), DetachPartitionFinalize(), makeNotNullConstraint(), RelationGetNotNullConstraints(), transformConstraintAttrs(), and transformIndexConstraint().

exclusions

List* Constraint::exclusions

Definition at line 2853 of file parsenodes.h.

Referenced by transformIndexConstraint().

fk_attrs

List* Constraint::fk_attrs

Definition at line 2865 of file parsenodes.h.

Referenced by ATAddForeignKeyConstraint(), ATExecAddConstraint(), CloneFkReferenced(), CloneFkReferencing(), and DetachPartitionFinalize().

fk_del_action

char Constraint::fk_del_action

Definition at line 2871 of file parsenodes.h.

Referenced by addFkConstraint(), ATAddForeignKeyConstraint(), ATExecAlterConstrEnforceability(), CloneFkReferenced(), CloneFkReferencing(), createForeignKeyActionTriggers(), and DetachPartitionFinalize().

fk_del_set_cols

List* Constraint::fk_del_set_cols

Definition at line 2872 of file parsenodes.h.

Referenced by ATAddForeignKeyConstraint(), CloneFkReferenced(), CloneFkReferencing(), and DetachPartitionFinalize().

fk_matchtype

char Constraint::fk_matchtype

Definition at line 2869 of file parsenodes.h.

Referenced by addFkConstraint(), ATExecAlterConstrEnforceability(), CloneFkReferenced(), CloneFkReferencing(), and DetachPartitionFinalize().

fk_upd_action

char Constraint::fk_upd_action

Definition at line 2870 of file parsenodes.h.

Referenced by addFkConstraint(), ATAddForeignKeyConstraint(), ATExecAlterConstrEnforceability(), CloneFkReferenced(), CloneFkReferencing(), createForeignKeyActionTriggers(), and DetachPartitionFinalize().

fk_with_period

bool Constraint::fk_with_period

Definition at line 2867 of file parsenodes.h.

Referenced by addFkRecurseReferencing(), and ATAddForeignKeyConstraint().

generated_kind

char Constraint::generated_kind

Definition at line 2846 of file parsenodes.h.

generated_when

char Constraint::generated_when

Definition at line 2845 of file parsenodes.h.

Referenced by transformAlterTableStmt().

including

List* Constraint::including

Definition at line 2851 of file parsenodes.h.

Referenced by transformIndexConstraint().

indexname

char* Constraint::indexname

Definition at line 2856 of file parsenodes.h.

Referenced by transformIndexConstraint().

indexspace

char* Constraint::indexspace

Definition at line 2857 of file parsenodes.h.

Referenced by transformIndexConstraint().

initdeferred

bool Constraint::initdeferred

Definition at line 2836 of file parsenodes.h.

Referenced by addFkConstraint(), CloneFkReferenced(), CloneFkReferencing(), CreateFKCheckTrigger(), createForeignKeyActionTriggers(), DetachPartitionFinalize(), makeNotNullConstraint(), RelationGetNotNullConstraints(), transformConstraintAttrs(), and transformIndexConstraint().

initially_valid

bool Constraint::initially_valid

Definition at line 2839 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 2837 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

Definition at line 2840 of file parsenodes.h.

Referenced by AddRelationNotNullConstraints(), ATAddCheckNNConstraint(), ATExecSetNotNull(), DefineDomain(), DetachAddConstraintIfNeeded(), expandTableLikeClause(), makeNotNullConstraint(), RelationGetNotNullConstraints(), transformColumnDefinition(), and transformTableConstraint().

keys

List* Constraint::keys

Definition at line 2848 of file parsenodes.h.

Referenced by AddRelationNotNullConstraints(), ATPrepAddPrimaryKey(), makeNotNullConstraint(), RelationGetNotNullConstraints(), and transformIndexConstraint().

location

ParseLoc Constraint::location

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

Definition at line 2847 of file parsenodes.h.

Referenced by transformIndexConstraint().

old_conpfeqop

List* Constraint::old_conpfeqop

Definition at line 2873 of file parsenodes.h.

Referenced by ATAddForeignKeyConstraint(), CloneFkReferenced(), CloneFkReferencing(), DetachPartitionFinalize(), and TryReuseForeignKey().

old_pktable_oid

Oid Constraint::old_pktable_oid

Definition at line 2874 of file parsenodes.h.

Referenced by ATAddForeignKeyConstraint(), ATPostAlterTypeParse(), CloneFkReferenced(), CloneFkReferencing(), and DetachPartitionFinalize().

options

List* Constraint::options

Definition at line 2855 of file parsenodes.h.

Referenced by transformAlterTableStmt(), and transformIndexConstraint().

pk_attrs

List* Constraint::pk_attrs

Definition at line 2866 of file parsenodes.h.

Referenced by ATAddForeignKeyConstraint(), CloneFkReferenced(), CloneFkReferencing(), and DetachPartitionFinalize().

pk_with_period

bool Constraint::pk_with_period

Definition at line 2868 of file parsenodes.h.

Referenced by ATAddForeignKeyConstraint().

pktable

RangeVar* Constraint::pktable

Definition at line 2864 of file parsenodes.h.

Referenced by ATAddForeignKeyConstraint(), CloneFkReferenced(), CloneFkReferencing(), and DetachPartitionFinalize().

raw_expr

Node* Constraint::raw_expr

Definition at line 2841 of file parsenodes.h.

Referenced by DefineDomain(), DetachAddConstraintIfNeeded(), domainAddCheckConstraint(), expandTableLikeClause(), and transformColumnDefinition().

reset_default_tblspc

bool Constraint::reset_default_tblspc

Definition at line 2858 of file parsenodes.h.

Referenced by ATPostAlterTypeParse(), and transformIndexConstraint().

skip_validation

bool Constraint::skip_validation

Definition at line 2838 of file parsenodes.h.

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

type

NodeTag Constraint::type

Definition at line 2832 of file parsenodes.h.

where_clause

Node* Constraint::where_clause

Definition at line 2861 of file parsenodes.h.

Referenced by transformIndexConstraint().

without_overlaps

bool Constraint::without_overlaps

Definition at line 2850 of file parsenodes.h.

Referenced by transformIndexConstraint().


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

AltStyle によって変換されたページ (->オリジナル) /