stale comment in struct AlteredTableInfo
stale comment in struct AlteredTableInfo
От:
jian he <jian.universality@gmail.com>
Дата:
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.
--
jian
https://www.enterprisedb.com/
Re: stale comment in struct AlteredTableInfo
От:
David Rowley <dgrowleyml@gmail.com>
Дата:
On Wed, 23 Sept 2026 at 15:03, jian he 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