PostgreSQL Source Code: AlterTableCmd Struct Reference (original) (raw)
#include <[parsenodes.h](parsenodes%5F8h%5Fsource.html)>
| Data Fields | |
|---|---|
| NodeTag | type |
| AlterTableType | subtype |
| char * | name |
| int16 | num |
| RoleSpec * | newowner |
| Node * | def |
| DropBehavior | behavior |
| bool | missing_ok |
| bool | recurse |
Detailed Description
Field Documentation
◆ behavior
◆ def
Definition at line 2522 of file parsenodes.h.
Referenced by AlterTableGetLockLevel(), ATExecAddColumn(), ATExecAlterColumnType(), ATExecCmd(), ATParseTransformCmd(), ATPostAlterTypeParse(), ATPrepAddPrimaryKey(), ATPrepAlterColumnType(), ATPrepCmd(), DefineVirtualRelation(), expandTableLikeClause(), ProcessUtilitySlow(), RebuildConstraintComment(), transformAlterTableStmt(), transformColumnDefinition(), and transformFKConstraints().
◆ missing_ok
bool AlterTableCmd::missing_ok
◆ name
char* AlterTableCmd::name
◆ newowner
◆ num
◆ recurse
bool AlterTableCmd::recurse
◆ subtype
Definition at line 2516 of file parsenodes.h.
Referenced by AlterTableGetLockLevel(), AlterTableMoveAll(), ATExecCmd(), ATParseTransformCmd(), ATPostAlterTypeParse(), ATPrepAddPrimaryKey(), ATPrepCmd(), DefineVirtualRelation(), expandTableLikeClause(), get_altertable_subcmdinfo(), ProcessUtilitySlow(), RebuildConstraintComment(), transformAlterTableStmt(), transformColumnDefinition(), and transformFKConstraints().
◆ type
The documentation for this struct was generated from the following file:
- src/include/nodes/parsenodes.h