|
PostgreSQL Source Code git master
|
#include <parsenodes.h>
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 2858 of file parsenodes.h.
| char* Constraint::access_method |
Definition at line 2888 of file parsenodes.h.
Referenced by transformIndexConstraint().
| char* Constraint::conname |
Definition at line 2862 of file parsenodes.h.
Referenced by addFkConstraint(), addFkRecurseReferenced(), addFkRecurseReferencing(), AddRelationNotNullConstraints(), ATAddCheckNNConstraint(), ATAddForeignKeyConstraint(), ATExecAddConstraint(), ATExecAlterConstrEnforceability(), ATExecSetNotNull(), ATPostAlterTypeParse(), ATRewriteTables(), CloneFkReferenced(), createTableConstraints(), DetachPartitionFinalize(), domainAddCheckConstraint(), domainAddNotNullConstraint(), expandTableLikeClause(), makeNotNullConstraint(), QueueFKConstraintValidation(), RelationGetNotNullConstraints(), transformColumnDefinition(), and transformIndexConstraint().
| ConstrType Constraint::contype |
Definition at line 2861 of file parsenodes.h.
Referenced by AddRelationNotNullConstraints(), AlterDomainAddConstraint(), AlterDomainNotNull(), AlterTableGetLockLevel(), ATAddCheckNNConstraint(), ATExecAddConstraint(), ATPostAlterTypeParse(), ATPrepAddPrimaryKey(), CloneFkReferenced(), CloneFkReferencing(), createTableConstraints(), DefineDomain(), DetachPartitionFinalize(), domainAddCheckConstraint(), domainAddNotNullConstraint(), expandTableLikeClause(), makeNotNullConstraint(), RelationGetNotNullConstraints(), transformColumnDefinition(), transformConstraintAttrs(), transformIndexConstraint(), transformIndexConstraints(), transformTableConstraint(), and TryReuseForeignKey().
| char* Constraint::cooked_expr |
Definition at line 2871 of file parsenodes.h.
Referenced by createTableConstraints(), expandTableLikeClause(), and transformColumnDefinition().
| bool Constraint::deferrable |
Definition at line 2863 of file parsenodes.h.
Referenced by addFkConstraint(), CloneFkReferenced(), CloneFkReferencing(), CreateFKCheckTrigger(), createForeignKeyActionTriggers(), createTableConstraints(), DetachPartitionFinalize(), makeNotNullConstraint(), RelationGetNotNullConstraints(), transformConstraintAttrs(), and transformIndexConstraint().
| List* Constraint::exclusions |
Definition at line 2881 of file parsenodes.h.
Referenced by transformIndexConstraint().
| List* Constraint::fk_attrs |
Definition at line 2893 of file parsenodes.h.
Referenced by ATAddForeignKeyConstraint(), ATExecAddConstraint(), CloneFkReferenced(), CloneFkReferencing(), and DetachPartitionFinalize().
| char Constraint::fk_del_action |
Definition at line 2899 of file parsenodes.h.
Referenced by addFkConstraint(), ATAddForeignKeyConstraint(), ATExecAlterConstrEnforceability(), CloneFkReferenced(), CloneFkReferencing(), createForeignKeyActionTriggers(), and DetachPartitionFinalize().
| List* Constraint::fk_del_set_cols |
Definition at line 2900 of file parsenodes.h.
Referenced by ATAddForeignKeyConstraint(), CloneFkReferenced(), CloneFkReferencing(), and DetachPartitionFinalize().
| char Constraint::fk_matchtype |
Definition at line 2897 of file parsenodes.h.
Referenced by addFkConstraint(), ATExecAlterConstrEnforceability(), CloneFkReferenced(), CloneFkReferencing(), and DetachPartitionFinalize().
| char Constraint::fk_upd_action |
Definition at line 2898 of file parsenodes.h.
Referenced by addFkConstraint(), ATAddForeignKeyConstraint(), ATExecAlterConstrEnforceability(), CloneFkReferenced(), CloneFkReferencing(), createForeignKeyActionTriggers(), and DetachPartitionFinalize().
| bool Constraint::fk_with_period |
Definition at line 2895 of file parsenodes.h.
Referenced by addFkRecurseReferencing(), and ATAddForeignKeyConstraint().
| char Constraint::generated_kind |
Definition at line 2874 of file parsenodes.h.
| char Constraint::generated_when |
Definition at line 2873 of file parsenodes.h.
Referenced by transformAlterTableStmt().
| List* Constraint::including |
Definition at line 2879 of file parsenodes.h.
Referenced by transformIndexConstraint().
| char* Constraint::indexname |
Definition at line 2884 of file parsenodes.h.
Referenced by transformIndexConstraint().
| char* Constraint::indexspace |
Definition at line 2885 of file parsenodes.h.
Referenced by transformIndexConstraint().
| bool Constraint::initdeferred |
Definition at line 2864 of file parsenodes.h.
Referenced by addFkConstraint(), CloneFkReferenced(), CloneFkReferencing(), CreateFKCheckTrigger(), createForeignKeyActionTriggers(), createTableConstraints(), DetachPartitionFinalize(), makeNotNullConstraint(), RelationGetNotNullConstraints(), transformConstraintAttrs(), and transformIndexConstraint().
| bool Constraint::initially_valid |
Definition at line 2867 of file parsenodes.h.
Referenced by addFkConstraint(), AlterDomainNotNull(), CloneFkReferenced(), CloneFkReferencing(), createTableConstraints(), DetachPartitionFinalize(), expandTableLikeClause(), makeNotNullConstraint(), RelationGetNotNullConstraints(), transformCheckConstraints(), transformConstraintAttrs(), and transformFKConstraints().
| bool Constraint::is_enforced |
Definition at line 2865 of file parsenodes.h.
Referenced by addFkConstraint(), addFkRecurseReferenced(), addFkRecurseReferencing(), CloneFkReferenced(), CloneFkReferencing(), createTableConstraints(), DetachPartitionFinalize(), expandTableLikeClause(), makeNotNullConstraint(), RelationGetNotNullConstraints(), transformCheckConstraints(), transformConstraintAttrs(), and transformFKConstraints().
| bool Constraint::is_no_inherit |
Definition at line 2868 of file parsenodes.h.
Referenced by AddRelationNotNullConstraints(), ATAddCheckNNConstraint(), ATExecSetNotNull(), createTableConstraints(), DefineDomain(), expandTableLikeClause(), makeNotNullConstraint(), RelationGetNotNullConstraints(), transformColumnDefinition(), and transformTableConstraint().
| List* Constraint::keys |
Definition at line 2876 of file parsenodes.h.
Referenced by AddRelationNotNullConstraints(), ATPrepAddPrimaryKey(), makeNotNullConstraint(), RelationGetNotNullConstraints(), and transformIndexConstraint().
| ParseLoc Constraint::location |
Definition at line 2905 of file parsenodes.h.
Referenced by AlterDomainNotNull(), CloneFkReferenced(), CloneFkReferencing(), createTableConstraints(), DefineDomain(), DetachPartitionFinalize(), expandTableLikeClause(), makeNotNullConstraint(), RelationGetNotNullConstraints(), transformColumnDefinition(), transformConstraintAttrs(), transformIndexConstraint(), and transformTableConstraint().
| bool Constraint::nulls_not_distinct |
Definition at line 2875 of file parsenodes.h.
Referenced by transformIndexConstraint().
| List* Constraint::old_conpfeqop |
Definition at line 2901 of file parsenodes.h.
Referenced by ATAddForeignKeyConstraint(), CloneFkReferenced(), CloneFkReferencing(), DetachPartitionFinalize(), and TryReuseForeignKey().
| Oid Constraint::old_pktable_oid |
Definition at line 2902 of file parsenodes.h.
Referenced by ATAddForeignKeyConstraint(), ATPostAlterTypeParse(), CloneFkReferenced(), CloneFkReferencing(), and DetachPartitionFinalize().
| List* Constraint::options |
Definition at line 2883 of file parsenodes.h.
Referenced by transformAlterTableStmt(), and transformIndexConstraint().
| List* Constraint::pk_attrs |
Definition at line 2894 of file parsenodes.h.
Referenced by ATAddForeignKeyConstraint(), CloneFkReferenced(), CloneFkReferencing(), and DetachPartitionFinalize().
| bool Constraint::pk_with_period |
Definition at line 2896 of file parsenodes.h.
Referenced by ATAddForeignKeyConstraint().
| RangeVar* Constraint::pktable |
Definition at line 2892 of file parsenodes.h.
Referenced by ATAddForeignKeyConstraint(), CloneFkReferenced(), CloneFkReferencing(), and DetachPartitionFinalize().
| Node* Constraint::raw_expr |
Definition at line 2869 of file parsenodes.h.
Referenced by createTableConstraints(), DefineDomain(), domainAddCheckConstraint(), expandTableLikeClause(), and transformColumnDefinition().
| bool Constraint::reset_default_tblspc |
Definition at line 2886 of file parsenodes.h.
Referenced by ATPostAlterTypeParse(), and transformIndexConstraint().
| bool Constraint::skip_validation |
Definition at line 2866 of file parsenodes.h.
Referenced by addFkRecurseReferencing(), AlterDomainAddConstraint(), ATAddCheckNNConstraint(), CloneFkReferenced(), CloneFkReferencing(), createTableConstraints(), DetachPartitionFinalize(), domainAddCheckConstraint(), domainAddNotNullConstraint(), expandTableLikeClause(), makeNotNullConstraint(), RelationGetNotNullConstraints(), transformCheckConstraints(), transformConstraintAttrs(), and transformFKConstraints().
| NodeTag Constraint::type |
Definition at line 2860 of file parsenodes.h.
| Node* Constraint::where_clause |
Definition at line 2889 of file parsenodes.h.
Referenced by transformIndexConstraint().
| bool Constraint::without_overlaps |
Definition at line 2878 of file parsenodes.h.
Referenced by transformIndexConstraint().