Skip to content

Commit 68a0571

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 1a3d9f6 commit 68a0571

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/include/replication/slot.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ typedef struct ReplicationSlotCtlData
136136
/*
137137
* Pointers to shared memory
138138
*/
139-
extern ReplicationSlotCtlData *ReplicationSlotCtl;
140-
extern ReplicationSlot *MyReplicationSlot;
139+
extern PGDLLIMPORT ReplicationSlotCtlData *ReplicationSlotCtl;
140+
extern PGDLLIMPORT ReplicationSlot *MyReplicationSlot;
141141

142142
/* GUCs */
143143
extern PGDLLIMPORT int max_replication_slots;

0 commit comments

Comments
 (0)