From: Michael Paquier Date: Thu, 7 Mar 2024 23:44:13 +0000 (+0900) Subject: Update comment of AlterTableCmd->name in parsenodes.h X-Git-Tag: REL_17_BETA1~716 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=4f8c1e7aaf11c42fa658eeab9baef0a035e76fe2;p=postgresql.git 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 --- diff --git a/src/include/nodes/parsenodes.h b/src/include/nodes/parsenodes.h index aef4fb7c335..2380821600a 100644 --- a/src/include/nodes/parsenodes.h +++ b/src/include/nodes/parsenodes.h @@ -2277,7 +2277,7 @@ typedef struct AlterTableCmd /* one subcommand of an ALTER TABLE */ NodeTag type; AlterTableType subtype; /* Type of table alteration to apply */ char *name; /* column, constraint, or trigger to act on, - * or tablespace */ + * or tablespace, access method */ int16 num; /* attribute number for columns referenced by * number */ RoleSpec *newowner;