Re: Mark all GUC variable as PGDLLIMPORT
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Michael Paquier <michael@paquier.xyz>, John Naylor <john.naylor@enterprisedb.com>, Tom Lane <tgl@sss.pgh.pa.us>, Andrew Dunstan <andrew@dunslane.net>, Chapman Flack <chap@anastigmatix.net>, Julien Rouhaud <rjuju123@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2022-05-06T23:49:24Z
Lists: pgsql-hackers
Hi, On 2022-04-08 08:42:38 -0400, Robert Haas wrote: > On Wed, Apr 6, 2022 at 7:56 PM Michael Paquier <michael@paquier.xyz> wrote: > > On Wed, Apr 06, 2022 at 12:57:29AM +0700, John Naylor wrote: > > > For these two patches, I'd say a day or two after feature freeze is a > > > reasonable goal. > > > > Yeah. For patches as invasive as the PGDLLIMPORT business and the > > frontend error refactoring, I am also fine to have two exceptions with > > the freeze deadline. > > Done now. Just noticed that extern sigset_t UnBlockSig, BlockSig, StartupBlockSig; are unadorned. There's also a number of variables that are only declared in .c files that !windows can still access. Some likely aren't worth caring about, but some others are underlying GUCs, so we probably do? E.g. CommitDelay CommitSiblings default_tablespace ignore_checksum_failure ignore_invalid_pages Log_disconnections ssl_renegotiation_limit temp_tablespaces Unix_socket_group Unix_socket_permissions wal_level_options Likely don't care: dynamic_shared_memory_options gistBufferingOptValues recovery_target_action_options ssl_protocol_versions_info Also noticed that the bbsink_ops variables are const, instead of static const, was that intentional? Greetings, Andres Freund
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