On 2025/06/14 7:31, Nathan Bossart wrote:
> On Fri, Jun 13, 2025 at 04:19:26PM +0900, Fujii Masao wrote:
>> I noticed that pg_restore_relation|attribute_stats() can restore statistics
>> for foreign tables, but pg_dump --statistics-only doesn't include them.
>> Is there a reason why pg_dump skips statistics for foreign tables?
>> Are there any risks or concerns around including them?
>
> Isn't this applicable to --with-statistics, too?
Yes, it applies to --with-statistics as well.
Regards,
--
Fujii Masao
NTT DATA Japan Corporation