Re: Mark all GUC variable as PGDLLIMPORT
Bruce Momjian <bruce@momjian.us>
From: Bruce Momjian <bruce@momjian.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Chapman Flack <chap@anastigmatix.net>, Peter Eisentraut <peter.eisentraut@enterprisedb.com>, Julien Rouhaud <rjuju123@gmail.com>, Tom Lane <tgl@sss.pgh.pa.us>, Michael Paquier <michael@paquier.xyz>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-08-24T21:26:20Z
Lists: pgsql-hackers
On Tue, Aug 24, 2021 at 04:31:32PM -0400, Robert Haas wrote: > On Tue, Aug 24, 2021 at 3:36 PM Chapman Flack <chap@anastigmatix.net> wrote: > > Peter may have advocated for that kind of across-the-board adoption; > > my leaning is more to add an API that /can/ be adopted, initially with > > separately-linked extensions as the audience. Nothing would stop it being > > used in core as well, but no reason to change any site where it did not > > offer an advantage. > > > > I generally tend to be an incrementalist. > > Sure, me too, but the point for me is that there doesn't seem to be a > shred of a reason to go this way at all. We've turned a discussion > about adding PGDLLIMPORT, which ought to be totally uncontroversial, > into some kind of a discussion about adding an API layer that no one > wants to prevent a hypothetical failure mode not in evidence. +1 -- Bruce Momjian <bruce@momjian.us> https://momjian.us EDB https://enterprisedb.com If only the physical world exists, free will is an illusion.
Commits
-
Remove PGDLLIMPORT marker from __pg_log_level
- 8d3341266508 15.0 landed
-
Mark a few 'bbsink' related functions / variables static.
- b5f44225b833 15.0 landed
-
Add some missing PGDLLIMPORT markings
- 5edeb574285e 15.0 landed
-
Apply PGDLLIMPORT markings broadly.
- 8ec569479fc2 15.0 landed
-
Helper script to apply PGDLLIMPORT markings.
- 80900d469091 15.0 landed
-
Simplify declaring variables exported from libpgcommon and libpgport.
- e04a8059a74c 15.0 cited