PostgreSQL Source Code git master
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
AlteredTableInfo Struct Reference

Data Fields

Oid relid
 
char relkind
 
TupleDesc oldDesc
 
Relation rel
 
Listsubcmds [AT_NUM_PASSES]
 
Listconstraints
 
Listnewvals
 
ListafterStmts
 
bool verify_new_notnull
 
int rewrite
 
bool chgAccessMethod
 
Oid newAccessMethod
 
Oid newTableSpace
 
bool chgPersistence
 
char newrelpersistence
 
Exprpartition_constraint
 
bool validate_default
 
ListchangedConstraintOids
 
ListchangedConstraintDefs
 
ListchangedIndexOids
 
ListchangedIndexDefs
 
char * replicaIdentityIndex
 
char * clusterOnIndex
 
ListchangedStatisticsOids
 
ListchangedStatisticsDefs
 

Detailed Description

Definition at line 168 of file tablecmds.c.

Field Documentation

◆ afterStmts

List* AlteredTableInfo::afterStmts

Definition at line 189 of file tablecmds.c.

Referenced by ATParseTransformCmd(), and ATRewriteTables().

◆ changedConstraintDefs

List* AlteredTableInfo::changedConstraintDefs

Definition at line 203 of file tablecmds.c.

Referenced by ATPostAlterTypeCleanup(), and RememberConstraintForRebuilding().

◆ changedConstraintOids

List* AlteredTableInfo::changedConstraintOids

Definition at line 202 of file tablecmds.c.

Referenced by ATPostAlterTypeCleanup(), and RememberConstraintForRebuilding().

◆ changedIndexDefs

List* AlteredTableInfo::changedIndexDefs

Definition at line 205 of file tablecmds.c.

Referenced by RememberIndexForRebuilding().

◆ changedIndexOids

List* AlteredTableInfo::changedIndexOids

Definition at line 204 of file tablecmds.c.

Referenced by RememberIndexForRebuilding().

◆ changedStatisticsDefs

List* AlteredTableInfo::changedStatisticsDefs

Definition at line 209 of file tablecmds.c.

Referenced by RememberStatisticsForRebuilding().

◆ changedStatisticsOids

List* AlteredTableInfo::changedStatisticsOids

Definition at line 208 of file tablecmds.c.

Referenced by RememberStatisticsForRebuilding().

◆ chgAccessMethod

bool AlteredTableInfo::chgAccessMethod

◆ chgPersistence

bool AlteredTableInfo::chgPersistence

Definition at line 196 of file tablecmds.c.

Referenced by ATGetQueueEntry(), ATPrepChangePersistence(), ATPrepCmd(), and ATRewriteTables().

◆ clusterOnIndex

char* AlteredTableInfo::clusterOnIndex

Definition at line 207 of file tablecmds.c.

Referenced by RememberClusterOnForRebuilding().

◆ constraints

◆ newAccessMethod

Oid AlteredTableInfo::newAccessMethod

Definition at line 193 of file tablecmds.c.

Referenced by ATExecCmd(), ATGetQueueEntry(), ATPrepSetAccessMethod(), and ATRewriteTables().

◆ newrelpersistence

char AlteredTableInfo::newrelpersistence

Definition at line 197 of file tablecmds.c.

Referenced by ATGetQueueEntry(), ATPrepChangePersistence(), and ATRewriteTables().

◆ newTableSpace

Oid AlteredTableInfo::newTableSpace

Definition at line 195 of file tablecmds.c.

Referenced by ATExecCmd(), ATGetQueueEntry(), ATPrepSetTableSpace(), and ATRewriteTables().

◆ newvals

List* AlteredTableInfo::newvals

◆ oldDesc

TupleDesc AlteredTableInfo::oldDesc

◆ partition_constraint

Expr* AlteredTableInfo::partition_constraint

◆ rel

Relation AlteredTableInfo::rel

Definition at line 182 of file tablecmds.c.

Referenced by ATExecCmd(), ATExecDetachPartition(), ATGetQueueEntry(), and ATRewriteCatalogs().

◆ relid

◆ relkind

char AlteredTableInfo::relkind

◆ replicaIdentityIndex

char* AlteredTableInfo::replicaIdentityIndex

Definition at line 206 of file tablecmds.c.

Referenced by RememberReplicaIdentityForRebuilding().

◆ rewrite

◆ subcmds

List* AlteredTableInfo::subcmds[AT_NUM_PASSES]

◆ validate_default

bool AlteredTableInfo::validate_default

Definition at line 200 of file tablecmds.c.

Referenced by ATRewriteTable(), and QueuePartitionConstraintValidation().

◆ verify_new_notnull

bool AlteredTableInfo::verify_new_notnull

Definition at line 190 of file tablecmds.c.

Referenced by ATExecAddColumn(), ATRewriteTable(), ATRewriteTables(), and set_attnotnull().


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