aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2019-06-13 10:53:17 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2019-06-13 10:53:34 -0400
commit3c8f8f6ebefb3c2debd1cad1ba445a729290dac7 (patch)
tree170e875854e8f1550d7c3fe5afefaed088ff01c3
parentb9768458154de6c001af23efc02514f120c6094f (diff)
downloadpostgresql-3c8f8f6ebefb3c2debd1cad1ba445a729290dac7.tar.gz
postgresql-3c8f8f6ebefb3c2debd1cad1ba445a729290dac7.zip
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/replication/slot.h b/src/include/replication/slot.h
index 8bc7f521d5e..8fbddea78fd 100644
--- a/src/include/replication/slot.h
+++ b/src/include/replication/slot.h
@@ -169,7 +169,7 @@ typedef struct ReplicationSlotCtlData
/*
* Pointers to shared memory
*/
-extern ReplicationSlotCtlData *ReplicationSlotCtl;
+extern PGDLLIMPORT ReplicationSlotCtlData *ReplicationSlotCtl;
extern PGDLLIMPORT ReplicationSlot *MyReplicationSlot;
/* GUCs */