On Mon, 2025-01-20 at 22:21 -0500, Corey Huinker wrote: > > -1. > That will break pg_upgrade tests if there's any statistics out there > for any partitioned index.
Are you saying that there is a path for a partitioned index to have stats today? If so, we can just follow that locking protocol. If not, I'm concerned about trying to define the locking protocol for doing so as a side-effect of this work. Wouldn't it be easy enough to issue a WARNING and skip it? Regards, Jeff Davis