]> granicus.if.org Git - postgresql/commitdiff
Mark ReplicationSlotCtl as PGDLLIMPORT.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 13 Jun 2019 14:53:17 +0000 (10:53 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 13 Jun 2019 14:53:17 +0000 (10:53 -0400)
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

src/include/replication/slot.h

index e00562d274fc882d28822ed4d1349f9f4d5c1bd0..0f38de92b0f24a284afddc9e4c8c089c44bec2c8 100644 (file)
@@ -147,7 +147,7 @@ typedef struct ReplicationSlotCtlData
 /*
  * Pointers to shared memory
  */
-extern ReplicationSlotCtlData *ReplicationSlotCtl;
+extern PGDLLIMPORT ReplicationSlotCtlData *ReplicationSlotCtl;
 extern PGDLLIMPORT ReplicationSlot *MyReplicationSlot;
 
 /* GUCs */