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

From Robert Haas
Subject Re: use of SPI by postgresImportForeignStatistics
Date
Msg-id CA+TgmoYb7DQ5P9Z4GY2MC=L7nKut0iapK-P+phyBd4rpoOgoPA@mail.gmail.com
Whole thread
In response to Re: use of SPI by postgresImportForeignStatistics  (Corey Huinker <corey.huinker@gmail.com>)
List pgsql-hackers
On Wed, Jun 17, 2026 at 12:03 PM Corey Huinker <corey.huinker@gmail.com> wrote:
> I had assumed we wanted a generic C API to these two functions, but if we want something that is specific to FDWs,
thatmight change where the functions land in the header files. It's an easy change to make if we change our minds, but
itwould be good to know if we do or do not want something specific to FDWs. Personally, I think FDWs will be 90-95% of
theusages outside of the existing SQL-defined functions, but 95% is not 100%, so I'd be inclined to leave them in a
statistics/statsutils header. 

I don't want it to be specific to FDWs, just convenient for FDWs.
Agree they should stay in a statistics header.

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



pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: Bug in ALTER SUBSCRIPTION ... SERVER / ... CONNECTION with broken old server
Next
From: Peter Smith
Date:
Subject: Re: pg_stat_replication docs incomplete for logical replication