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

From Etsuro Fujita
Subject Re: use of SPI by postgresImportForeignStatistics
Date
Msg-id CAPmGK14P2GRe78hp6fZ3vExU_9RRDjMsYVOx7AALvUQ-hKTUiQ@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 Thu, Jun 18, 2026 at 1:00 AM Corey Huinker <corey.huinker@gmail.com> wrote:

>> IMO I don't think we need to go that far, because 1) the new functions
>> are provided for FDW authors only, and 2) we don't make changes to the
>> stats that often.
>
>
> That would be simpler, to be sure. However, in the past I've received pushback on functions that had a large number
ofparameters, and this would definitely be a large number of parameters, approximately 17, so I thought I should at
leastoffer the variadic way. 
>
> I'm proceeding with the many-parameters model.

I think that that's acceptable, considering that
heap_create_with_catalog() has 21 parameters.

Thanks!

Best regards,
Etsuro Fujita



pgsql-hackers by date:

Previous
From: Matthias van de Meent
Date:
Subject: Re: Unexpected behavior after OOM errors
Next
From: Henson Choi
Date:
Subject: Re: Row pattern recognition