Re: Further cleanup related to statistics import support in postgres_fdw

From: Etsuro Fujita <etsuro(dot)fujita(at)gmail(dot)com>
To: Bharath Rupireddy <bharath(dot)rupireddyforpostgres(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: Further cleanup related to statistics import support in postgres_fdw
Date: 2026-08-31 11:22:46
Message-ID: CAPmGK14KENO2vxdKfafAKvXsS+vh7n+SXU2BRHN__4rF=71Fkg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Aug 30, 2026 at 8:50 PM Etsuro Fujita <etsuro(dot)fujita(at)gmail(dot)com> wrote:
> Attached is a patch for that.

I simplified the patch, fixing an oversight. I also revisited the
existing code, to remove redundant string-to-number conversion of
reltuples in fetch_remote_statistics() and
import_fetched_statistics(). Updated patch attached.

Best regards,
Etsuro Fujita

Attachment Content-Type Size
yet-further-cleanup-v2.patch application/octet-stream 11.1 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Chao Li 2026-08-31 11:26:50 Re: GRAPH_TABLE pattern WHERE clause is not coerced to boolean
Previous Message Osama Abdul Qader 2026-08-31 11:10:02 Re: REPACK (ANALYZE) within transaction block segfaults