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

From Fujii Masao
Subject Re: use of SPI by postgresImportForeignStatistics
Date
Msg-id CAHGQGwGjcQ4SwHMUQ9P8UYQ7iLKL1QE3uLSdONToQ1MrzpUUoQ@mail.gmail.com
Whole thread
In response to Re: use of SPI by postgresImportForeignStatistics  (Etsuro Fujita <etsuro.fujita@gmail.com>)
Responses Re: use of SPI by postgresImportForeignStatistics
List pgsql-hackers
On Fri, Jul 10, 2026 at 2:03 PM Etsuro Fujita <etsuro.fujita@gmail.com> wrote:
>
> On Wed, Jul 8, 2026 at 9:04 PM Etsuro Fujita <etsuro.fujita@gmail.com> wrote:
> > Attached is a new version
> > of the patch.  I'm planning to push and back-patch it, if no
> > objections.
>
> Committed and back-patched.

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.

Regards,

--
Fujii Masao

Attachment

pgsql-hackers by date:

Previous
From: Jeremy Schneider
Date:
Subject: Re: hang during shutdown
Next
From: shveta malik
Date:
Subject: Re: [PATCH] Preserve replication origin OIDs in pg_upgrade