Re: use of SPI by postgresImportForeignStatistics - Mailing list pgsql-hackers

From Robert Haas
Subject Re: use of SPI by postgresImportForeignStatistics
Date
Msg-id CA+TgmobLcuO+6gSLftG8gQFBZx1DyVt88JZ4--292FQJkKDs4A@mail.gmail.com
Whole thread
In response to Re: use of SPI by postgresImportForeignStatistics  (Corey Huinker <corey.huinker@gmail.com>)
Responses Re: use of SPI by postgresImportForeignStatistics
List pgsql-hackers
On Tue, Jun 16, 2026 at 6:50 PM Corey Huinker <corey.huinker@gmail.com> wrote:
> postgres_fdw will get slimmer for not having SPI in it. relation_stats.c and attribute_stats.c will have some
temporarybloat until things can be refactored. 

Whatever ends up in core can (indeed must) be reused by every FDW. So
making things simpler for the FDW and more complex for core seems
likely to be the right tradeoff in general.

--
Robert Haas
EDB: http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Enrique Sánchez
Date:
Subject: Re: Show estimated number of groups for IncrementalSort in EXPLAIN
Next
From: Michael Paquier
Date:
Subject: Re: Direction for test frameworks: Perl TAP vs. Python/pytest