git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 991f8cf) | patch
Move all extern declarations for GUC variables to header files
2024年7月24日 04:21:39 +0000 (06:21 +0200)
2024年7月24日 04:31:07 +0000 (06:31 +0200)
commit 774d47b6c01a8b8111ae390b97343f25ebdf9267
Move all extern declarations for GUC variables to header files

Add extern declarations in appropriate header files for global
variables related to GUC. In many cases, this was handled quite
inconsistently before, with some GUC variables declared in a header
file and some only pulled in via ad-hoc extern declarations in various
.c files.

Also add PGDLLIMPORT qualifications to those variables. These were
previously missing because src/tools/mark_pgdllimport.pl has only been
used with header files.

This also fixes -Wmissing-variable-declarations warnings for GUC
variables (not yet part of the standard warning options).

Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://www.postgresql.org/message-id/flat/e0a62134-83da-4ba4-8cdb-ceb0111c95ce@eisentraut.org
12 files changed:
src/backend/commands/variable.c diff | blob | blame | history
src/backend/utils/error/elog.c diff | blob | blame | history
src/backend/utils/misc/guc.c diff | blob | blame | history
src/backend/utils/misc/guc_tables.c diff | blob | blame | history
src/include/access/syncscan.h diff | blob | blame | history
src/include/access/xlog.h diff | blob | blame | history
src/include/access/xlogutils.h diff | blob | blame | history
src/include/commands/tablespace.h diff | blob | blame | history
src/include/storage/bufpage.h diff | blob | blame | history
src/include/tcop/backend_startup.h diff | blob | blame | history
src/include/tcop/tcopprot.h diff | blob | blame | history
src/include/utils/guc.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /