mirror of
https://github.com/postgres/postgres.git
synced 2025-04-21 12:05:57 +03:00
Update comment of AlterTableCmd->name in parsenodes.h
Since b0483263dda0, this field can be used to store an access method name for ALTER TABLE, but access methods were not mentioned in the field's description. Issue noticed while working on the area. Discussion: https://postgr.es/m/ZeWKgCtk6xiAsDsc@paquier.xyz
This commit is contained in:
parent
5c40364dd6
commit
4f8c1e7aaf
@ -2277,7 +2277,7 @@ typedef struct AlterTableCmd /* one subcommand of an ALTER TABLE */
|
|||||||
NodeTag type;
|
NodeTag type;
|
||||||
AlterTableType subtype; /* Type of table alteration to apply */
|
AlterTableType subtype; /* Type of table alteration to apply */
|
||||||
char *name; /* column, constraint, or trigger to act on,
|
char *name; /* column, constraint, or trigger to act on,
|
||||||
* or tablespace */
|
* or tablespace, access method */
|
||||||
int16 num; /* attribute number for columns referenced by
|
int16 num; /* attribute number for columns referenced by
|
||||||
* number */
|
* number */
|
||||||
RoleSpec *newowner;
|
RoleSpec *newowner;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user