Re: postgres_fdw: fix cumulative stats after imported foreign-table stats

Etsuro Fujita <etsuro.fujita@gmail.com>

From: Etsuro Fujita <etsuro.fujita@gmail.com>
To: Chao Li <li.evan.chao@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>, Corey Huinker <corey.huinker@gmail.com>
Date: 2026-06-13T09:32:33Z
Lists: pgsql-hackers
Hi Chao,

On Fri, Jun 12, 2026 at 12:49 PM Chao Li <li.evan.chao@gmail.com> wrote:
> While testing "[28972b6fc] Add support for importing statistics from remote servers", I found a problem: when remote stats are imported, cumulative stats are not updated.

Thanks for the report and patch!

Actually, I have also just noticed this problem in my post-commit
self-review.  Will look into the patch.

Best regards,
Etsuro Fujita