Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit b48cac3

Browse files
author
Amit Kapila
committed
Mark a few logical decoding related variables with PGDLLIMPORT.
Commit 7259736 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
1 parent 1e7629d commit b48cac3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/include/access/xact.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ typedef enum
8282
extern int synchronous_commit;
8383

8484
/* used during logical streaming of a transaction */
85-
extern TransactionId CheckXidAlive;
86-
extern bool bsysscan;
85+
extern PGDLLIMPORT TransactionId CheckXidAlive;
86+
extern PGDLLIMPORT bool bsysscan;
8787

8888
/*
8989
* Miscellaneous flag bits to record events which occur on the top level

0 commit comments

Comments
 (0)