On Mon, Jun 23, 2025 at 01:38:10PM -0400, Robert Haas wrote: > I had thought we had a consensus that pg_upgrade should preserve stats > but regularly pg_dump shouldn't include them; perhaps I misunderstood > or that changed.
I think it's a bit of both. I skimmed through the past discussions and found that not only was there a rough consensus in 2024 that stats _should_ be on by default [0], but also that an updated vote tally didn't show much of a consensus at all [1]. Like you, I thought we had pretty much closed that door, but the aforementioned analysis along with further discussion has me convinced that we might want to reconsider [2]. [0] https://postgr.es/m/e16cd9caf4f5229a152d318d70b4d323a03e3539.ca...@j-davis.com [1] https://postgr.es/m/aFCIB1AwXuNzxHXX%40nathan [2] https://postgr.es/m/aFC9rWSeFz7c07uI%40nathan -- nathan