PostgreSQL Source Code
git master
|
#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 |
Node * | raw_expr |
char * | cooked_expr |
char | generated_when |
int | inhcount |
bool | nulls_not_distinct |
List * | keys |
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 |
char | fk_matchtype |
char | fk_upd_action |
char | fk_del_action |
List * | fk_del_set_cols |
List * | old_conpfeqop |
Oid | old_pktable_oid |
bool | skip_validation |
bool | initially_valid |
Definition at line 2566 of file parsenodes.h.
Constraint::pg_node_attr | ( | custom_read_write | ) |
char* Constraint::access_method |
Definition at line 2605 of file parsenodes.h.
Referenced by transformIndexConstraint().
char* Constraint::conname |
Definition at line 2574 of file parsenodes.h.
Referenced by addFkRecurseReferenced(), addFkRecurseReferencing(), AddRelationNewConstraints(), AddRelationNotNullConstraints(), ATAddCheckNNConstraint(), ATAddForeignKeyConstraint(), ATExecAddConstraint(), ATExecAlterConstraint(), ATExecSetNotNull(), ATExecValidateConstraint(), ATPostAlterTypeParse(), ATPrepAddPrimaryKey(), ATRewriteTables(), CloneFkReferenced(), CloneFkReferencing(), DetachAddConstraintIfNeeded(), DetachPartitionFinalize(), domainAddConstraint(), expandTableLikeClause(), RelationGetNotNullConstraints(), transformColumnDefinition(), transformIndexConstraint(), and transformTableLikeClause().
ConstrType Constraint::contype |
Definition at line 2571 of file parsenodes.h.
Referenced by _outConstraint(), AddRelationNewConstraints(), AddRelationNotNullConstraints(), AlterDomainAddConstraint(), AlterTableGetLockLevel(), ATAddCheckNNConstraint(), ATExecAddConstraint(), ATExecSetNotNull(), ATPostAlterTypeParse(), ATPrepAddPrimaryKey(), CloneFkReferenced(), CloneFkReferencing(), DefineDomain(), DetachAddConstraintIfNeeded(), DetachPartitionFinalize(), expandTableLikeClause(), RelationGetNotNullConstraints(), transformColumnDefinition(), transformConstraintAttrs(), transformIndexConstraint(), transformIndexConstraints(), transformTableConstraint(), transformTableLikeClause(), and TryReuseForeignKey().
char* Constraint::cooked_expr |
Definition at line 2582 of file parsenodes.h.
Referenced by AddRelationNewConstraints(), DetachAddConstraintIfNeeded(), expandTableLikeClause(), and transformColumnDefinition().
bool Constraint::deferrable |
Definition at line 2575 of file parsenodes.h.
Referenced by addFkRecurseReferenced(), addFkRecurseReferencing(), ATExecAlterConstraint(), ATExecAlterConstrRecurse(), ATExecSetNotNull(), ATPrepAddPrimaryKey(), CloneFkReferenced(), CloneFkReferencing(), CreateFKCheckTrigger(), createForeignKeyActionTriggers(), DetachPartitionFinalize(), RelationGetNotNullConstraints(), transformColumnDefinition(), transformConstraintAttrs(), transformIndexConstraint(), and transformTableLikeClause().
List* Constraint::exclusions |
Definition at line 2596 of file parsenodes.h.
Referenced by transformIndexConstraint().
List* Constraint::fk_attrs |
Definition at line 2610 of file parsenodes.h.
Referenced by addFkRecurseReferenced(), addFkRecurseReferencing(), ATAddForeignKeyConstraint(), ATExecAddConstraint(), CloneFkReferenced(), CloneFkReferencing(), DetachPartitionFinalize(), and transformColumnDefinition().
char Constraint::fk_del_action |
Definition at line 2614 of file parsenodes.h.
Referenced by addFkRecurseReferenced(), addFkRecurseReferencing(), ATAddForeignKeyConstraint(), CloneFkReferenced(), CloneFkReferencing(), createForeignKeyActionTriggers(), and DetachPartitionFinalize().
List* Constraint::fk_del_set_cols |
Definition at line 2615 of file parsenodes.h.
Referenced by ATAddForeignKeyConstraint(), CloneFkReferenced(), CloneFkReferencing(), and DetachPartitionFinalize().
char Constraint::fk_matchtype |
Definition at line 2612 of file parsenodes.h.
Referenced by addFkRecurseReferenced(), addFkRecurseReferencing(), CloneFkReferenced(), CloneFkReferencing(), and DetachPartitionFinalize().
char Constraint::fk_upd_action |
Definition at line 2613 of file parsenodes.h.
Referenced by addFkRecurseReferenced(), addFkRecurseReferencing(), ATAddForeignKeyConstraint(), CloneFkReferenced(), CloneFkReferencing(), createForeignKeyActionTriggers(), and DetachPartitionFinalize().
char Constraint::generated_when |
Definition at line 2583 of file parsenodes.h.
Referenced by transformAlterTableStmt(), and transformColumnDefinition().
List* Constraint::including |
Definition at line 2592 of file parsenodes.h.
Referenced by transformIndexConstraint().
char* Constraint::indexname |
Definition at line 2600 of file parsenodes.h.
Referenced by transformIndexConstraint().
char* Constraint::indexspace |
Definition at line 2601 of file parsenodes.h.
Referenced by transformIndexConstraint().
int Constraint::inhcount |
Definition at line 2586 of file parsenodes.h.
Referenced by AddRelationNewConstraints(), ATAddCheckNNConstraint(), ATExecSetNotNull(), and ATPrepAddPrimaryKey().
bool Constraint::initdeferred |
Definition at line 2576 of file parsenodes.h.
Referenced by addFkRecurseReferenced(), addFkRecurseReferencing(), ATExecAlterConstraint(), ATExecAlterConstrRecurse(), ATExecSetNotNull(), ATPrepAddPrimaryKey(), CloneFkReferenced(), CloneFkReferencing(), CreateFKCheckTrigger(), createForeignKeyActionTriggers(), DetachPartitionFinalize(), RelationGetNotNullConstraints(), transformColumnDefinition(), transformConstraintAttrs(), transformIndexConstraint(), and transformTableLikeClause().
bool Constraint::initially_valid |
Definition at line 2622 of file parsenodes.h.
Referenced by addFkRecurseReferenced(), addFkRecurseReferencing(), AddRelationNewConstraints(), ATAddForeignKeyConstraint(), ATExecSetNotNull(), ATPrepAddPrimaryKey(), CloneFkReferenced(), CloneFkReferencing(), DetachAddConstraintIfNeeded(), DetachPartitionFinalize(), expandTableLikeClause(), RelationGetNotNullConstraints(), transformCheckConstraints(), transformColumnDefinition(), transformFKConstraints(), and transformTableLikeClause().
bool Constraint::is_no_inherit |
Definition at line 2580 of file parsenodes.h.
Referenced by AddRelationNewConstraints(), AddRelationNotNullConstraints(), ATAddCheckNNConstraint(), ATExecSetNotNull(), DefineDomain(), DetachAddConstraintIfNeeded(), expandTableLikeClause(), and transformTableLikeClause().
List* Constraint::keys |
Definition at line 2590 of file parsenodes.h.
Referenced by AddRelationNewConstraints(), AddRelationNotNullConstraints(), ATExecSetNotNull(), ATPrepAddPrimaryKey(), RelationGetNotNullConstraints(), transformColumnDefinition(), transformIndexConstraint(), and transformTableLikeClause().
int Constraint::location |
Definition at line 2577 of file parsenodes.h.
Referenced by ATExecSetNotNull(), ATPrepAddPrimaryKey(), CloneFkReferenced(), CloneFkReferencing(), DetachAddConstraintIfNeeded(), DetachPartitionFinalize(), expandTableLikeClause(), RelationGetNotNullConstraints(), transformColumnDefinition(), transformConstraintAttrs(), transformIndexConstraint(), transformTableConstraint(), and transformTableLikeClause().
bool Constraint::nulls_not_distinct |
Definition at line 2589 of file parsenodes.h.
Referenced by transformIndexConstraint().
List* Constraint::old_conpfeqop |
Definition at line 2616 of file parsenodes.h.
Referenced by ATAddForeignKeyConstraint(), CloneFkReferenced(), CloneFkReferencing(), DetachPartitionFinalize(), and TryReuseForeignKey().
Oid Constraint::old_pktable_oid |
Definition at line 2617 of file parsenodes.h.
Referenced by ATAddForeignKeyConstraint(), ATPostAlterTypeParse(), CloneFkReferenced(), CloneFkReferencing(), and DetachPartitionFinalize().
List* Constraint::options |
Definition at line 2599 of file parsenodes.h.
Referenced by transformAlterTableStmt(), transformColumnDefinition(), and transformIndexConstraint().
List* Constraint::pk_attrs |
Definition at line 2611 of file parsenodes.h.
Referenced by ATAddForeignKeyConstraint(), CloneFkReferenced(), CloneFkReferencing(), and DetachPartitionFinalize().
RangeVar* Constraint::pktable |
Definition at line 2609 of file parsenodes.h.
Referenced by ATAddForeignKeyConstraint(), CloneFkReferenced(), CloneFkReferencing(), and DetachPartitionFinalize().
Node* Constraint::raw_expr |
Definition at line 2581 of file parsenodes.h.
Referenced by AddRelationNewConstraints(), DefineDomain(), DetachAddConstraintIfNeeded(), domainAddConstraint(), expandTableLikeClause(), and transformColumnDefinition().
bool Constraint::reset_default_tblspc |
Definition at line 2602 of file parsenodes.h.
Referenced by ATPostAlterTypeParse(), and transformIndexConstraint().
bool Constraint::skip_validation |
Definition at line 2621 of file parsenodes.h.
Referenced by addFkRecurseReferencing(), AddRelationNewConstraints(), AlterDomainAddConstraint(), ATAddForeignKeyConstraint(), ATExecSetNotNull(), ATPrepAddPrimaryKey(), CloneFkReferenced(), CloneFkReferencing(), DetachAddConstraintIfNeeded(), DetachPartitionFinalize(), domainAddConstraint(), expandTableLikeClause(), RelationGetNotNullConstraints(), transformCheckConstraints(), transformColumnDefinition(), transformFKConstraints(), and transformTableLikeClause().
Node* Constraint::where_clause |
Definition at line 2606 of file parsenodes.h.
Referenced by transformIndexConstraint().