PostgreSQL Source Code  git master
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 166 of file tablecmds.c.

Field Documentation

◆ afterStmts

List* AlteredTableInfo::afterStmts

Definition at line 187 of file tablecmds.c.

Referenced by ATParseTransformCmd(), and ATRewriteTables().

◆ changedConstraintDefs

List* AlteredTableInfo::changedConstraintDefs

Definition at line 201 of file tablecmds.c.

Referenced by ATPostAlterTypeCleanup(), and RememberConstraintForRebuilding().

◆ changedConstraintOids

List* AlteredTableInfo::changedConstraintOids

Definition at line 200 of file tablecmds.c.

Referenced by ATPostAlterTypeCleanup(), and RememberConstraintForRebuilding().

◆ changedIndexDefs

List* AlteredTableInfo::changedIndexDefs

Definition at line 203 of file tablecmds.c.

Referenced by RememberIndexForRebuilding().

◆ changedIndexOids

List* AlteredTableInfo::changedIndexOids

Definition at line 202 of file tablecmds.c.

Referenced by RememberIndexForRebuilding().

◆ changedStatisticsDefs

List* AlteredTableInfo::changedStatisticsDefs

Definition at line 207 of file tablecmds.c.

Referenced by RememberStatisticsForRebuilding().

◆ changedStatisticsOids

List* AlteredTableInfo::changedStatisticsOids

Definition at line 206 of file tablecmds.c.

Referenced by RememberStatisticsForRebuilding().

◆ chgAccessMethod

bool AlteredTableInfo::chgAccessMethod

◆ chgPersistence

bool AlteredTableInfo::chgPersistence

Definition at line 194 of file tablecmds.c.

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

◆ clusterOnIndex

char* AlteredTableInfo::clusterOnIndex

Definition at line 205 of file tablecmds.c.

Referenced by RememberClusterOnForRebuilding().

◆ constraints

List* AlteredTableInfo::constraints

◆ newAccessMethod

Oid AlteredTableInfo::newAccessMethod

Definition at line 191 of file tablecmds.c.

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

◆ newrelpersistence

char AlteredTableInfo::newrelpersistence

Definition at line 195 of file tablecmds.c.

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

◆ newTableSpace

Oid AlteredTableInfo::newTableSpace

Definition at line 193 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 180 of file tablecmds.c.

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

◆ relid

◆ relkind

char AlteredTableInfo::relkind

◆ replicaIdentityIndex

char* AlteredTableInfo::replicaIdentityIndex

Definition at line 204 of file tablecmds.c.

Referenced by RememberReplicaIdentityForRebuilding().

◆ rewrite

◆ subcmds

List* AlteredTableInfo::subcmds[AT_NUM_PASSES]

◆ validate_default

bool AlteredTableInfo::validate_default

Definition at line 198 of file tablecmds.c.

Referenced by ATRewriteTable(), and QueuePartitionConstraintValidation().

◆ verify_new_notnull

bool AlteredTableInfo::verify_new_notnull

Definition at line 188 of file tablecmds.c.

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


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