stale comment in struct AlteredTableInfo
HI.
{
/* Objects to rebuild after completing ALTER TYPE operations */
List *changedConstraintOids; /* OIDs of constraints to rebuild */
List *changedConstraintDefs; /* string definitions of same */
List *changedIndexOids; /* OIDs of indexes to rebuild */
List *changedIndexDefs; /* string definitions of same */
char *replicaIdentityIndex; /* index to reset as REPLICA IDENTITY */
char *clusterOnIndex; /* index to use for CLUSTER */
List *changedStatisticsOids; /* OIDs of statistics to rebuild */
List *changedStatisticsDefs; /* string definitions of same */
List *changedStatisticsOwners; /* owners of same */
} AlteredTableInfo;
Comment
/* Objects to rebuild after completing ALTER TYPE operations */
should be
/* Objects to rebuild after completing ALTER TYPE or SET EXPRESSION
operations */
Since these objects apply to ALTER COLUMN SET EXPRESSION too.
On Wed, 23 Sept 2026 at 15:03, jian he <jian.universality@gmail.com> wrote:
Comment
/* Objects to rebuild after completing ALTER TYPE operations */
should be
/* Objects to rebuild after completing ALTER TYPE or SET EXPRESSION
operations */Since these objects apply to ALTER COLUMN SET EXPRESSION too.
Adjusted. Thanks.
David