agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Revert "Remove fake FunctionCallInfos from the stats .."
Date: Thu, 03 Sep 2026 08:25:05 +0000
Message-ID: <E1x22kq-00000003I0g-1INu@gemulon.postgresql.org> (raw)

Revert "Remove fake FunctionCallInfos from the stats .."

This reverts commit cc9a8eb112fa, after more discussion with Etsuro
Fujita.  We are still not sure about the interface that should be used
for the portion related to the statistics import, and what should be
exposed for FDW code that may want to rely on these two functions:
- import_attribute_statistics()
- import_relation_statistics()

Discussion: https://postgr.es/m/CAPmGK15HUuNvEZk4b+K_x57+sg31B9LDwB7DBgVNaCpLnafhPA@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6fe9b62914bcb55cbf02d8d741a42f810d239725

Modified Files
--------------
contrib/postgres_fdw/postgres_fdw.c           |  69 ++++-----
src/backend/statistics/attribute_stats.c      | 215 +++++++++++++++-----------
src/backend/statistics/extended_stats_funcs.c |  81 +++++-----
src/backend/statistics/relation_stats.c       | 127 ++++++++-------
src/backend/statistics/stat_utils.c           |  56 +++----
src/include/statistics/stat_utils.h           |  19 ++-
src/include/statistics/statistics.h           |  66 +++-----
src/tools/pgindent/typedefs.list              |   2 -
8 files changed, 335 insertions(+), 300 deletions(-)



Message-ID: <E1x22kq-00000003I0g-1INu@gemulon.postgresql.org>
Permalink:  ../E1x22kq-00000003I0g-1INu@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1x22kq-00000003I0g-1INu@gemulon.postgresql.org

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Revert "Remove fake FunctionCallInfos from the stats .."
  In-Reply-To: <E1x22kq-00000003I0g-1INu@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox