aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2024-03-08 08:44:13 +0900
committerMichael Paquier <michael@paquier.xyz>2024-03-08 08:44:13 +0900
commit4f8c1e7aaf11c42fa658eeab9baef0a035e76fe2 (patch)
tree7f68829ca583822bda04b1ad251f822e139083be /src
parent5c40364dd6d9c6a260c8965dffe2e066642d6f79 (diff)
downloadpostgresql-4f8c1e7aaf11c42fa658eeab9baef0a035e76fe2.tar.gz
postgresql-4f8c1e7aaf11c42fa658eeab9baef0a035e76fe2.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/include/nodes/parsenodes.h2
1 files changed, 1 insertions, 1 deletions
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;