1
0
mirror of https://github.com/postgres/postgres.git synced 2026-10-23 13:29:09 +03:00

Fix outdated comment in tablecmds.c

Since f80bedd52, these fields are now also used when adjusting the
expression on a virtual generated column.

Reported-by: jian he <jian.universality@gmail.com>
Discussion: https://postgr.es/m/CACJufxEvw496SK=nmvxOL0SQYBPhrsnad1DUj6cPs17cvvDSMQ@mail.gmail.com
Backpatch-through: 19
This commit is contained in:
David Rowley
2026-10-06 14:27:27 +13:00
parent 3ded88be12
commit 4db00396ef

View File

@@ -200,7 +200,7 @@ typedef struct AlteredTableInfo
Expr *partition_constraint; /* for attach partition validation */
/* true, if validating default due to some other attach/detach */
bool validate_default;
/* Objects to rebuild after completing ALTER TYPE operations */
/* Objects to rebuild after ALTER TYPE or SET EXPRESSION operations */
List *changedConstraintOids; /* OIDs of constraints to rebuild */
List *changedConstraintDefs; /* string definitions of same */
List *changedIndexOids; /* OIDs of indexes to rebuild */