postgres.git / summary / log / commit / refs
commit 3dd0792ae014c9ceb2c2ade43d0a3132cfeb4fc5
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: Thu Mar 31 02:06:34 2016 +0000
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
src/include/replication/slot.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/include/replication/slot.h b/src/include/replication/slot.h
index 8be8ab62a0f..efcce5fdd54 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;
[parent: cee31f5fee95]