postgres.git / summary / log / commit / refs

commit    4db00396efdcb39143e70bb564780d83be69fa24
Author:   David Rowley <drowley@postgresql.org>
Date:     Tue Oct 06 01:27:27 2026 +0000
First released in: 19.0

    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


src/backend/commands/tablecmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/commands/tablecmds.c b/src/backend/commands/tablecmds.c index e6cedb55337..b2f60c3d632 100644 --- a/src/backend/commands/tablecmds.c +++ b/src/backend/commands/tablecmds.c @@ -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 */ [parent: 3ded88be12a4]