pgsql: postgres_fdw: Report ANALYZE to pgstats after importing statisti

From: Etsuro Fujita <efujita(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: postgres_fdw: Report ANALYZE to pgstats after importing statisti
Date: 2026-07-07 09:43:13
Message-ID: E1wh2Kf-0000ZH-1Z@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

postgres_fdw: Report ANALYZE to pgstats after importing statistics.

Commit 28972b6fc should have done this, but didn't.

While at it, remove an extra blank line in fetch_remote_statistics()
introduced by that commit.

Reported-by: Chao Li <lic(at)highgo(dot)com>
Co-authored-by: Chao Li <lic(at)highgo(dot)com>
Co-authored-by: Etsuro Fujita <etsuro(dot)fujita(at)gmail(dot)com>
Discussion: https://postgr.es/m/6ED81190-B398-44C9-A1E9-8EFE4ED183AF%40gmail.com
Backpatch-through: 19

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/bb4142fb68cfab35b7c5f8db7645196c50662631

Modified Files
--------------
contrib/postgres_fdw/expected/postgres_fdw.out | 40 ++++++++++++++++++++++++++
contrib/postgres_fdw/postgres_fdw.c | 18 +++++++++++-
contrib/postgres_fdw/sql/postgres_fdw.sql | 10 +++++++
3 files changed, 67 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2026-07-07 09:50:09 pgsql: Don't cast pgoff_t to possibly 32-bit types for output
Previous Message Peter Eisentraut 2026-07-07 06:54:17 pgsql: Update GROUP BY ALL comments about window functions