aboutsummaryrefslogtreecommitdiff
path: root/src
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:17 -0400
commit2c5756ba5416e68356d9aa792c00e2d4f4ca2820 (patch)
treefbc028f08986244f09d24a5cc1ce25c3426a24bf /src
parenteddb79705f652f91ea1984172e5561d0ee05f27a (diff)
downloadpostgresql-2c5756ba5416e68356d9aa792c00e2d4f4ca2820.tar.gz
postgresql-2c5756ba5416e68356d9aa792c00e2d4f4ca2820.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
Diffstat (limited to 'src')
-rw-r--r--src/include/replication/slot.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/replication/slot.h b/src/include/replication/slot.h
index 78cff07abf8..9b51de24643 100644
--- a/src/include/replication/slot.h
+++ b/src/include/replication/slot.h
@@ -140,8 +140,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;