PostgreSQL Source Code
git master
|
#include <parsenodes.h>
Data Fields | |
NodeTag | type |
ConstrType | contype |
char * | conname |
bool | deferrable |
bool | initdeferred |
bool | skip_validation |
bool | initially_valid |
bool | is_no_inherit |
Node * | raw_expr |
char * | cooked_expr |
char | generated_when |
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 2743 of file parsenodes.h.
char* Constraint::access_method |
Definition at line 2771 of file parsenodes.h.
Referenced by transformIndexConstraint().
char* Constraint::conname |
Definition at line 2747 of file parsenodes.h.
Referenced by addFkConstraint(), addFkRecurseReferenced(), addFkRecurseReferencing(), ATAddCheckConstraint(), ATAddForeignKeyConstraint(), ATExecAddConstraint(), ATExecAlterConstraint(), ATExecValidateConstraint(), ATPostAlterTypeParse(), ATRewriteTables(), CloneFkReferenced(), DetachAddConstraintIfNeeded(), DetachPartitionFinalize(), domainAddCheckConstraint(), domainAddNotNullConstraint(), expandTableLikeClause(), and transformIndexConstraint().
ConstrType Constraint::contype |
Definition at line 2746 of file parsenodes.h.
Referenced by AlterDomainAddConstraint(), AlterDomainNotNull(), AlterTableGetLockLevel(), ATExecAddConstraint(), ATPostAlterTypeParse(), CloneFkReferenced(), CloneFkReferencing(), DefineDomain(), DetachAddConstraintIfNeeded(), DetachPartitionFinalize(), domainAddCheckConstraint(), domainAddNotNullConstraint(), expandTableLikeClause(), transformColumnDefinition(), transformConstraintAttrs(), transformIndexConstraint(), transformIndexConstraints(), transformTableConstraint(), and TryReuseForeignKey().
char* Constraint::cooked_expr |
Definition at line 2755 of file parsenodes.h.
Referenced by DetachAddConstraintIfNeeded(), expandTableLikeClause(), and transformColumnDefinition().
bool Constraint::deferrable |
Definition at line 2748 of file parsenodes.h.
Referenced by addFkConstraint(), ATExecAlterConstraint(), ATExecAlterConstrRecurse(), CloneFkReferenced(), CloneFkReferencing(), CreateFKCheckTrigger(), createForeignKeyActionTriggers(), DetachPartitionFinalize(), transformConstraintAttrs(), and transformIndexConstraint().
List* Constraint::exclusions |
Definition at line 2764 of file parsenodes.h.
Referenced by transformIndexConstraint().
List* Constraint::fk_attrs |
Definition at line 2776 of file parsenodes.h.
Referenced by addFkConstraint(), ATAddForeignKeyConstraint(), ATExecAddConstraint(), CloneFkReferenced(), CloneFkReferencing(), DetachPartitionFinalize(), and transformColumnDefinition().
char Constraint::fk_del_action |
Definition at line 2782 of file parsenodes.h.
Referenced by addFkConstraint(), ATAddForeignKeyConstraint(), CloneFkReferenced(), CloneFkReferencing(), createForeignKeyActionTriggers(), and DetachPartitionFinalize().
List* Constraint::fk_del_set_cols |
Definition at line 2783 of file parsenodes.h.
Referenced by ATAddForeignKeyConstraint(), CloneFkReferenced(), CloneFkReferencing(), and DetachPartitionFinalize().
char Constraint::fk_matchtype |
Definition at line 2780 of file parsenodes.h.
Referenced by addFkConstraint(), CloneFkReferenced(), CloneFkReferencing(), and DetachPartitionFinalize().
char Constraint::fk_upd_action |
Definition at line 2781 of file parsenodes.h.
Referenced by addFkConstraint(), ATAddForeignKeyConstraint(), CloneFkReferenced(), CloneFkReferencing(), createForeignKeyActionTriggers(), and DetachPartitionFinalize().
bool Constraint::fk_with_period |
Definition at line 2778 of file parsenodes.h.
Referenced by addFkRecurseReferencing(), and ATAddForeignKeyConstraint().
char Constraint::generated_when |
Definition at line 2757 of file parsenodes.h.
Referenced by transformAlterTableStmt(), and transformColumnDefinition().
List* Constraint::including |
Definition at line 2762 of file parsenodes.h.
Referenced by transformIndexConstraint().
char* Constraint::indexname |
Definition at line 2767 of file parsenodes.h.
Referenced by transformIndexConstraint().
char* Constraint::indexspace |
Definition at line 2768 of file parsenodes.h.
Referenced by transformIndexConstraint().
bool Constraint::initdeferred |
Definition at line 2749 of file parsenodes.h.
Referenced by addFkConstraint(), ATExecAlterConstraint(), ATExecAlterConstrRecurse(), CloneFkReferenced(), CloneFkReferencing(), CreateFKCheckTrigger(), createForeignKeyActionTriggers(), DetachPartitionFinalize(), transformConstraintAttrs(), and transformIndexConstraint().
bool Constraint::initially_valid |
Definition at line 2751 of file parsenodes.h.
Referenced by addFkConstraint(), AlterDomainNotNull(), ATAddForeignKeyConstraint(), CloneFkReferenced(), CloneFkReferencing(), DetachAddConstraintIfNeeded(), DetachPartitionFinalize(), expandTableLikeClause(), transformCheckConstraints(), and transformFKConstraints().
bool Constraint::is_no_inherit |
Definition at line 2752 of file parsenodes.h.
Referenced by ATAddCheckConstraint(), DefineDomain(), DetachAddConstraintIfNeeded(), and expandTableLikeClause().
List* Constraint::keys |
Definition at line 2759 of file parsenodes.h.
Referenced by transformColumnDefinition(), and transformIndexConstraint().
ParseLoc Constraint::location |
Definition at line 2788 of file parsenodes.h.
Referenced by AlterDomainNotNull(), CloneFkReferenced(), CloneFkReferencing(), DetachAddConstraintIfNeeded(), DetachPartitionFinalize(), expandTableLikeClause(), transformColumnDefinition(), transformConstraintAttrs(), transformIndexConstraint(), and transformTableConstraint().
bool Constraint::nulls_not_distinct |
Definition at line 2758 of file parsenodes.h.
Referenced by transformIndexConstraint().
List* Constraint::old_conpfeqop |
Definition at line 2784 of file parsenodes.h.
Referenced by ATAddForeignKeyConstraint(), CloneFkReferenced(), CloneFkReferencing(), DetachPartitionFinalize(), and TryReuseForeignKey().
Oid Constraint::old_pktable_oid |
Definition at line 2785 of file parsenodes.h.
Referenced by ATAddForeignKeyConstraint(), ATPostAlterTypeParse(), CloneFkReferenced(), CloneFkReferencing(), and DetachPartitionFinalize().
List* Constraint::options |
Definition at line 2766 of file parsenodes.h.
Referenced by transformAlterTableStmt(), transformColumnDefinition(), and transformIndexConstraint().
List* Constraint::pk_attrs |
Definition at line 2777 of file parsenodes.h.
Referenced by ATAddForeignKeyConstraint(), CloneFkReferenced(), CloneFkReferencing(), and DetachPartitionFinalize().
bool Constraint::pk_with_period |
Definition at line 2779 of file parsenodes.h.
Referenced by ATAddForeignKeyConstraint().
RangeVar* Constraint::pktable |
Definition at line 2775 of file parsenodes.h.
Referenced by ATAddForeignKeyConstraint(), CloneFkReferenced(), CloneFkReferencing(), and DetachPartitionFinalize().
Node* Constraint::raw_expr |
Definition at line 2753 of file parsenodes.h.
Referenced by DefineDomain(), DetachAddConstraintIfNeeded(), domainAddCheckConstraint(), expandTableLikeClause(), and transformColumnDefinition().
bool Constraint::reset_default_tblspc |
Definition at line 2769 of file parsenodes.h.
Referenced by ATPostAlterTypeParse(), and transformIndexConstraint().
bool Constraint::skip_validation |
Definition at line 2750 of file parsenodes.h.
Referenced by addFkRecurseReferencing(), AlterDomainAddConstraint(), ATAddForeignKeyConstraint(), CloneFkReferenced(), CloneFkReferencing(), DetachAddConstraintIfNeeded(), DetachPartitionFinalize(), domainAddCheckConstraint(), domainAddNotNullConstraint(), expandTableLikeClause(), transformCheckConstraints(), and transformFKConstraints().
NodeTag Constraint::type |
Definition at line 2745 of file parsenodes.h.
Node* Constraint::where_clause |
Definition at line 2772 of file parsenodes.h.
Referenced by transformIndexConstraint().
bool Constraint::without_overlaps |
Definition at line 2761 of file parsenodes.h.
Referenced by transformIndexConstraint().