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

From Etsuro Fujita
Subject Re: use of SPI by postgresImportForeignStatistics
Date
Msg-id CAPmGK17r6fPH21k6abF=qaQ96AnoJpv1SdOSayk4VHmp_8-fjw@mail.gmail.com
Whole thread
In response to Re: use of SPI by postgresImportForeignStatistics  (Fujii Masao <masao.fujii@gmail.com>)
Responses Re: use of SPI by postgresImportForeignStatistics
List pgsql-hackers
Fujii-san,

On Fri, Jul 10, 2026 at 2:37 PM Fujii Masao <masao.fujii@gmail.com> wrote:
> In the committed patch, I found that the set_*_arg() helper functions
> in postgres_fdw.c are declared static in their prototypes, but their
> definitions omit the static keyword. This looks like an oversight.
>
> Attached patch adds static to the definitions for consistency and
> to make their intended file-local scope explicit. It also fixes a few
> nearby comment typos.

Good catch!  Thanks for the patch!  LGTM.

Best regards,
Etsuro Fujita



pgsql-hackers by date:

Previous
From: Andreas Karlsson
Date:
Subject: Re: Possible typo in an error message
Next
From: Jim Jones
Date:
Subject: Re: Proposal: INSERT ... BY NAME