Re: Allow pg_dump --statistics-only to dump foreign table statistics? - Mailing list pgsql-hackers

From Corey Huinker
Subject Re: Allow pg_dump --statistics-only to dump foreign table statistics?
Date
Msg-id CADkLM=ezJjmiVM9NwP1w7f5aKg-KUUP0KGePNLf27qXwtsJzWw@mail.gmail.com
Whole thread Raw
In response to Re: Allow pg_dump --statistics-only to dump foreign table statistics?  (Nathan Bossart <nathandbossart@gmail.com>)
Responses Re: Allow pg_dump --statistics-only to dump foreign table statistics?
List pgsql-hackers
I skimmed through the main thread for the feature [0] (which seems to be so
long that it sometimes doesn't load completely), and I didn't see anything
directly related to the topic.  There was some discussion about importing
foreign relation stats with the new functions instead of remote table
samples, but that's a different thing

If we aren't exporting stats for foreign tables then that is an oversight, the intention always was to fetch all available statistics for all relations. I can't offhand think of where we even have the option to exclude them.
 

pgsql-hackers by date:

Previous
From: Corey Huinker
Date:
Subject: Re: pg_dump --with-* options
Next
From: Ranier Vilela
Date:
Subject: Avoid possible dereference null pointer (src/backend/utils/cache/relcache.c)