Re: Allow pg_dump --statistics-only to dump foreign table statistics?

From: Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>
To: Corey Huinker <corey(dot)huinker(at)gmail(dot)com>, Nathan Bossart <nathandbossart(at)gmail(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org, pgsql(at)j-davis(dot)com
Subject: Re: Allow pg_dump --statistics-only to dump foreign table statistics?
Date: 2025-06-18 05:58:57
Message-ID: 6ae2f1d5-71e9-4976-a582-7a324fac3a26@oss.nttdata.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2025/06/17 12:39, Fujii Masao wrote:
>
>
> On 2025/06/17 7:44, Corey Huinker wrote:
>>     The proposed patch [0] adds RELKIND_FOREIGN_TABLE to this list.  That
>>     appears to be the only missing relation kind that ANALYZE handles.
>>
>>     [0] https://postgr.es/m/attachment/177608/v1-0001-pg_dump-Allow-pg_dump-to-dump-the-statistics-for-.patch <https://postgr.es/m/attachment/177608/v1-0001-pg_dump-Allow-pg_dump-to-dump-the-statistics-for-.patch>
>>
>>
>> Thanks for pointing it out, a little distracted today.
>>
>> +1 for the patch.
>
> Thanks for reviewing the patch! I found a few more descriptions that
> needed updates, so I've revised the patch accordingly. The updated
> version is attached. Barring any objections, I plan to commit it.

I've pushed the patch. Thanks!

Regards,

--
Fujii Masao
NTT DATA Japan Corporation

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Anthonin Bonnefoy 2025-06-18 06:23:13 Re: [PATCH] Add additional extended protocol commands to psql: \parse and \bindx
Previous Message Peter Smith 2025-06-18 05:49:07 Re: Adding a '--clean-publisher-objects' option to 'pg_createsubscriber' utility.