Skip to content

Commit 945ae92

Browse files
committed
Mark ReplicationSlotCtl as PGDLLIMPORT.
Also MyReplicationSlot, in branches where it wasn't already. This was discussed in the thread that resulted in c572599, 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
1 parent 0f2b234 commit 945ae92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/include/replication/slot.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ typedef struct ReplicationSlotCtlData
156156
/*
157157
* Pointers to shared memory
158158
*/
159-
extern ReplicationSlotCtlData *ReplicationSlotCtl;
159+
extern PGDLLIMPORT ReplicationSlotCtlData *ReplicationSlotCtl;
160160
extern PGDLLIMPORT ReplicationSlot *MyReplicationSlot;
161161

162162
/* GUCs */

0 commit comments

Comments
 (0)