From 3dd0792ae014c9ceb2c2ade43d0a3132cfeb4fc5 Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Wed, 30 Mar 2016 23:06:34 -0300 Subject: [PATCH] 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 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;