summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlvaro Herrera2016-03-31 02:06:34 +0000
committerAlvaro Herrera2016-03-31 02:12:20 +0000
commit3dd0792ae014c9ceb2c2ade43d0a3132cfeb4fc5 (patch)
tree1fdbe48e90e5ec20c479f6e631b2d3d0ed155dc4
parentcee31f5fee950fed4159a4e093dab60b70ef215a (diff)
Blind attempt at fixing Win32 issue on 24c5f1a103c
As best as I can tell, MyReplicationSlot needs to be PGDLLIMPORT in order for the new test_slot_timelines test module to compile. Per buildfarm
-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 8be8ab62a0..efcce5fdd5 100644
--- a/src/include/replication/slot.h
+++ b/src/include/replication/slot.h
@@ -144,7 +144,7 @@ typedef struct ReplicationSlotCtlData
* Pointers to shared memory
*/
extern ReplicationSlotCtlData *ReplicationSlotCtl;
-extern ReplicationSlot *MyReplicationSlot;
+extern PGDLLIMPORT ReplicationSlot *MyReplicationSlot;
/* GUCs */
extern PGDLLIMPORT int max_replication_slots;