diff options
author | Amit Kapila <akapila@postgresql.org> | 2020-08-15 08:34:48 +0530 |
---|---|---|
committer | Amit Kapila <akapila@postgresql.org> | 2020-08-15 08:34:48 +0530 |
commit | b48cac3b10a02fea2bed684469dd4d36a6616405 (patch) | |
tree | 7bf41762718f961a671729a565b450117e7bc714 /src | |
parent | 1e7629d2c95ffd290ab0e18d7618ca9d9da94265 (diff) | |
download | postgresql-b48cac3b10a02fea2bed684469dd4d36a6616405.tar.gz postgresql-b48cac3b10a02fea2bed684469dd4d36a6616405.zip |
Mark a few logical decoding related variables with PGDLLIMPORT.
Commit 7259736a6e added two variables CheckXidAlive and bsysscan to detect
concurrent aborts and used these in inline functions that are part of the
API that can be used by extensions. So it is better to mark them with
PGDLLIMPORT.
Reported-by: Thomas Munro
Discussion: https://postgr.es/m/CA+hUKGJ7+HYupd=Pz9+QrXa-C_YnbC4rAYu8V+=OKg=UgdzMeg@mail.gmail.com
Diffstat (limited to 'src')
-rw-r--r-- | src/include/access/xact.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/access/xact.h b/src/include/access/xact.h index c18554bae2c..c59de9bebaf 100644 --- a/src/include/access/xact.h +++ b/src/include/access/xact.h @@ -82,8 +82,8 @@ typedef enum extern int synchronous_commit; /* used during logical streaming of a transaction */ -extern TransactionId CheckXidAlive; -extern bool bsysscan; +extern PGDLLIMPORT TransactionId CheckXidAlive; +extern PGDLLIMPORT bool bsysscan; /* * Miscellaneous flag bits to record events which occur on the top level |