pgsql: Apply PGDLLIMPORT markings broadly.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Apply PGDLLIMPORT markings broadly.
Date: 2022-04-08 12:38:41
Message-ID: E1ncnsv-000tOh-50@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Apply PGDLLIMPORT markings broadly.

Up until now, we've had a policy of only marking certain variables
in the PostgreSQL header files with PGDLLIMPORT, but now we've
decided to mark them all. This means that extensions running on
Windows should no longer operate at a disadvantage as compared to
extensions running on Linux: if the variable is present in a header
file, it should be accessible.

Discussion: http://postgr.es/m/CA+TgmoYanc1_FSfimhgiWSqVyP5KKmh5NP2BWNwDhO8Pg2vGYQ@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8ec569479fc28ddd634a13dc100b36352ec3a3c2

Modified Files
--------------
src/include/access/gin.h | 2 +-
src/include/access/parallel.h | 2 +-
src/include/access/session.h | 2 +-
src/include/access/tableam.h | 4 +-
src/include/access/toast_compression.h | 2 +-
src/include/access/twophase_rmgr.h | 8 ++--
src/include/access/xact.h | 16 ++++----
src/include/access/xlog.h | 56 +++++++++++++-------------
src/include/access/xlog_internal.h | 8 ++--
src/include/access/xlogprefetcher.h | 2 +-
src/include/access/xlogrecovery.h | 42 +++++++++----------
src/include/access/xlogutils.h | 4 +-
src/include/bootstrap/bootstrap.h | 6 +--
src/include/catalog/namespace.h | 2 +-
src/include/catalog/objectaddress.h | 2 +-
src/include/catalog/storage.h | 2 +-
src/include/commands/async.h | 4 +-
src/include/commands/tablespace.h | 2 +-
src/include/commands/user.h | 2 +-
src/include/commands/vacuum.h | 18 ++++-----
src/include/common/file_perm.h | 6 +--
src/include/common/jsonapi.h | 2 +-
src/include/common/logging.h | 2 +-
src/include/common/pg_lzcompress.h | 4 +-
src/include/common/relpath.h | 2 +-
src/include/fe_utils/cancel.h | 2 +-
src/include/fe_utils/print.h | 9 +++--
src/include/fe_utils/string_utils.h | 2 +-
src/include/fmgr.h | 2 +-
src/include/jit/jit.h | 20 +++++-----
src/include/jit/llvmjit.h | 44 ++++++++++----------
src/include/libpq/auth.h | 6 +--
src/include/libpq/libpq-be.h | 2 +-
src/include/libpq/libpq.h | 28 ++++++-------
src/include/libpq/pqcomm.h | 2 +-
src/include/libpq/scram.h | 2 +-
src/include/mb/pg_wchar.h | 6 +--
src/include/miscadmin.h | 54 ++++++++++++-------------
src/include/nodes/readfuncs.h | 2 +-
src/include/optimizer/geqo.h | 11 ++---
src/include/optimizer/optimizer.h | 4 +-
src/include/optimizer/planmain.h | 6 +--
src/include/parser/parse_expr.h | 2 +-
src/include/parser/parser.h | 4 +-
src/include/pg_getopt.h | 10 ++---
src/include/pgstat.h | 16 ++++----
src/include/pgtime.h | 2 +-
src/include/port/win32_port.h | 6 +--
src/include/port/win32ntdll.h | 4 +-
src/include/postmaster/autovacuum.h | 32 +++++++--------
src/include/postmaster/bgworker_internals.h | 2 +-
src/include/postmaster/bgwriter.h | 8 ++--
src/include/postmaster/pgarch.h | 8 ++--
src/include/postmaster/postmaster.h | 34 ++++++++--------
src/include/postmaster/startup.h | 2 +-
src/include/postmaster/syslogger.h | 14 +++----
src/include/postmaster/walwriter.h | 4 +-
src/include/replication/logicallauncher.h | 4 +-
src/include/replication/syncrep.h | 8 ++--
src/include/replication/walreceiver.h | 8 ++--
src/include/replication/walsender.h | 14 +++----
src/include/replication/walsender_private.h | 6 +--
src/include/replication/worker_internal.h | 10 ++---
src/include/storage/buf_internals.h | 4 +-
src/include/storage/bufmgr.h | 20 +++++-----
src/include/storage/dsm_impl.h | 4 +-
src/include/storage/fd.h | 4 +-
src/include/storage/large_object.h | 2 +-
src/include/storage/lock.h | 14 +++----
src/include/storage/lwlock.h | 4 +-
src/include/storage/pg_shmem.h | 14 +++----
src/include/storage/pmsignal.h | 2 +-
src/include/storage/predicate.h | 6 +--
src/include/storage/proc.h | 4 +-
src/include/storage/s_lock.h | 2 +-
src/include/storage/sinval.h | 4 +-
src/include/storage/spin.h | 2 +-
src/include/storage/standby.h | 8 ++--
src/include/tcop/tcopprot.h | 8 ++--
src/include/tsearch/ts_cache.h | 2 +-
src/include/tsearch/ts_type.h | 2 +-
src/include/utils/array.h | 2 +-
src/include/utils/builtins.h | 2 +-
src/include/utils/bytea.h | 3 +-
src/include/utils/datetime.h | 7 ++--
src/include/utils/elog.h | 12 +++---
src/include/utils/fmgrtab.h | 9 +++--
src/include/utils/guc.h | 62 ++++++++++++++---------------
src/include/utils/guc_tables.h | 8 ++--
src/include/utils/jsonpath.h | 2 +-
src/include/utils/pg_locale.h | 18 ++++-----
src/include/utils/pgstat_internal.h | 4 +-
src/include/utils/plancache.h | 2 +-
src/include/utils/ps_status.h | 2 +-
src/include/utils/queryjumble.h | 4 +-
src/include/utils/relcache.h | 4 +-
src/include/utils/rls.h | 2 +-
src/include/utils/snapmgr.h | 2 +-
src/include/utils/timestamp.h | 4 +-
src/include/utils/xml.h | 6 +--
100 files changed, 434 insertions(+), 429 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2022-04-08 13:16:50 pgsql: psql: Fix translation marking
Previous Message Magnus Hagander 2022-04-08 11:55:29 pgsql: Add JIT counters to pg_stat_statements