On Wed, 2025-05-21 at 11:08 -0500, Nathan Bossart wrote: > On Tue, May 20, 2025 at 10:32:39AM -0700, Hari Krishna Sunder wrote: > > Ah ya, forgot that reltuples are not always accurate. This sounds > > reasonable to me. > > Cool. Here is what I have staged for commit, which I am planning to > do > shortly.
Originally, one of the reasons we added a version field during dump is so that some future version could reinterpret stats in older dump files during import. This patch is using a newer version of pg_dump to interpret stats from older versions during export. That might be fine, but it would be good to understand where the line is between things we should reinterpret during export vs things we should reinterpret during import. Regards, Jeff Davis