diff options
author | Tom Lane | 2019-06-13 14:53:17 +0000 |
---|---|---|
committer | Tom Lane | 2019-06-13 14:53:17 +0000 |
commit | 68a0571e2255daa8841d1ee3c0c8c8424659312b (patch) | |
tree | 0a9a95c6d5acabee35d5c6dc44208d2883236951 | |
parent | 1a3d9f62c1d158585266200b8bbb2d7d757c4eae (diff) |
Mark ReplicationSlotCtl as PGDLLIMPORT.
Also MyReplicationSlot, in branches where it wasn't already.
This was discussed in the thread that resulted in c572599c6, but
for some reason nobody pulled the trigger. Now that we have another
request for the same thing, we should just do it.
Craig Ringer
Discussion: https://postgr.es/m/CAMsr+YFTsq-86MnsNng=mPvjjh5EAbzfMK0ptJPvzyvpFARuRg@mail.gmail.com
Discussion: https://postgr.es/m/345138875.20190611151943@cybertec.at
-rw-r--r-- | src/include/replication/slot.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/replication/slot.h b/src/include/replication/slot.h index c129a4a7718..0fee63c7fcd 100644 --- a/src/include/replication/slot.h +++ b/src/include/replication/slot.h @@ -136,8 +136,8 @@ typedef struct ReplicationSlotCtlData /* * Pointers to shared memory */ -extern ReplicationSlotCtlData *ReplicationSlotCtl; -extern ReplicationSlot *MyReplicationSlot; +extern PGDLLIMPORT ReplicationSlotCtlData *ReplicationSlotCtl; +extern PGDLLIMPORT ReplicationSlot *MyReplicationSlot; /* GUCs */ extern PGDLLIMPORT int max_replication_slots; |