mirror of
https://github.com/postgres/postgres.git
synced 2026-06-10 01:00:11 -04:00
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
This commit is contained in:
parent
1e7629d2c9
commit
b48cac3b10
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue