Re: Statistics Import and Export - Mailing list pgsql-hackers

From Corey Huinker
Subject Re: Statistics Import and Export
Date
Msg-id CADkLM=djvsMewpPw1K4WcgWCnaHZYmYyqic9yc_mXjsdwb+Dzg@mail.gmail.com
Whole thread Raw
In response to Re: Statistics Import and Export  (Nathan Bossart <nathandbossart@gmail.com>)
Responses Re: Statistics Import and Export
List pgsql-hackers
* The custom format actually does two WriteToc() calls, and since these
  patches move the queries to this part of pg_dump, it means we'll run all
  the queries twice.  The comments around this code suggest that the second
  pass isn't strictly necessary and that it is really only useful for
  data/parallel restore, so we could probably skip it for no-data dumps.

Is there any reason we couldn't have stats objects remove themselves from the list after completion?

pgsql-hackers by date:

Previous
From: Peter Smith
Date:
Subject: Re: Tidy recent code bloat in pg_creatersubscriber::cleanup_objects_atexit
Next
From: Robert Treat
Date:
Subject: Re: Disabling vacuum truncate for autovacuum