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

From: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>
To: Etsuro Fujita <etsuro(dot)fujita(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Corey Huinker <corey(dot)huinker(at)gmail(dot)com>
Subject: Re: postgres_fdw: fix cumulative stats after imported foreign-table stats
Date: 2026-06-15 07:36:32
Message-ID: 1C610259-C019-446F-B643-243E00950C36@gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On Jun 13, 2026, at 17:32, Etsuro Fujita <etsuro(dot)fujita(at)gmail(dot)com> wrote:
>
> Hi Chao,
>
> On Fri, Jun 12, 2026 at 12:49 PM Chao Li <li(dot)evan(dot)chao(at)gmail(dot)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

Thanks for confirming. Then I think this issue deserves a place on the open items list, so I just added it.

Best regards,
--
Chao Li (Evan)
HighGo Software Co., Ltd.
https://www.highgo.com/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kyotaro Horiguchi 2026-06-15 07:39:22 Re: [PATCH] Change wait_time column of pg_stat_lock to double precision
Previous Message Chao Li 2026-06-15 07:29:01 Make frontend programs relink after libpgfeutils changes