Re: Statistics Import and Export: difference in statistics dumped - Mailing list pgsql-hackers

From Jeff Davis
Subject Re: Statistics Import and Export: difference in statistics dumped
Date
Msg-id d6e08fde8cb173b34a96c7d2bc9985aa657ce51f.camel@j-davis.com
Whole thread Raw
In response to Re: Statistics Import and Export: difference in statistics dumped  (Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>)
Responses Re: Statistics Import and Export: difference in statistics dumped
List pgsql-hackers
On Mon, 2025-03-03 at 22:04 +0530, Ashutosh Bapat wrote:
> But while we have hold of reltuples wasting a chance to
> update it in pg_class does not look right to me.

To me, autovacuum=off is a pretty clear signal that the user doesn't
want this kind of side-effect to happen. Am I missing something?

> I think the solution should be on the pg_dump/restore side and not on
> the server side.

What solution are you suggesting? The only one that comes to mind is
moving everything to SECTION_POST_DATA, which is possible, but it seems
like a big design change to satisfy a small detail.

Regards,
    Jeff Davis




pgsql-hackers by date:

Previous
From: Jelte Fennema-Nio
Date:
Subject: Re: New commitfest app release on March 4th
Next
From: Michael Paquier
Date:
Subject: Re: Add Pipelining support in psql