postgres.git / summary / log / commit / refs

commit    4f8c1e7aaf11c42fa658eeab9baef0a035e76fe2
Author:   Michael Paquier <michael@paquier.xyz>
Date:     Thu Mar 07 23:44:13 2024 +0000
First released in: 17.0

    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


src/include/nodes/parsenodes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; [parent: 5c40364dd6d9]