Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 4f8c1e7

Browse files
committed
Update comment of AlterTableCmd->name in parsenodes.h
Since b048326, 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
1 parent 5c40364 commit 4f8c1e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/include/nodes/parsenodes.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -2277,7 +2277,7 @@ typedef struct AlterTableCmd /* one subcommand of an ALTER TABLE */
22772277
NodeTag type;
22782278
AlterTableType subtype; /* Type of table alteration to apply */
22792279
char *name; /* column, constraint, or trigger to act on,
2280-
* or tablespace */
2280+
* or tablespace, access method */
22812281
int16 num; /* attribute number for columns referenced by
22822282
* number */
22832283
RoleSpec *newowner;

0 commit comments

Comments
 (0)