git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5850253)
Add missing PGDLLIMPORT markings
2024年1月16日 11:53:28 +0000 (13:53 +0200)
2024年1月16日 11:53:28 +0000 (13:53 +0200)
Since commit 8ec569479f, we have a policy of marking all backend
variables with PGDLLIMPORT.

Reported-by: Anton A. Melnikov
Discussion: https://www.postgresql.org/message-id/0b78546c-ffef-4cd9-9ba1-d1e6aab88cea@postgrespro.ru


diff --git a/src/include/postmaster/walsummarizer.h b/src/include/postmaster/walsummarizer.h
index d6e61b59ac7e22948ae153bd894a528733e5d246..ecb4ea37fba725744c4fad5a689597053d908334 100644 (file)
--- a/src/include/postmaster/walsummarizer.h
+++ b/src/include/postmaster/walsummarizer.h
@@ -16,8 +16,8 @@
#include "access/xlogdefs.h"
-extern bool summarize_wal;
-extern int wal_summary_keep_time;
+extern PGDLLIMPORT bool summarize_wal;
+extern PGDLLIMPORT int wal_summary_keep_time;
extern Size WalSummarizerShmemSize(void);
extern void WalSummarizerShmemInit(void);
diff --git a/src/include/storage/buf_internals.h b/src/include/storage/buf_internals.h
index e43e61657962631b7bfb8a13dede31581977cfa2..f190e6e5e462b0f5c6d54e8105cd9272ce2e74ab 100644 (file)
--- a/src/include/storage/buf_internals.h
+++ b/src/include/storage/buf_internals.h
@@ -385,8 +385,8 @@ typedef struct CkptSortItem
extern PGDLLIMPORT CkptSortItem *CkptBufferIds;
/* ResourceOwner callbacks to hold buffer I/Os and pins */
-extern const ResourceOwnerDesc buffer_io_resowner_desc;
-extern const ResourceOwnerDesc buffer_pin_resowner_desc;
+extern PGDLLIMPORT const ResourceOwnerDesc buffer_io_resowner_desc;
+extern PGDLLIMPORT const ResourceOwnerDesc buffer_pin_resowner_desc;
/* Convenience wrappers over ResourceOwnerRemember/Forget */
static inline void
This is the main PostgreSQL git repository.
RSS Atom

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