From: Alvaro Herrera Date: Thu, 31 Mar 2016 02:06:34 +0000 (-0300) Subject: Blind attempt at fixing Win32 issue on 24c5f1a103c X-Git-Tag: REL9_6_BETA1~330 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3dd0792ae014c9ceb2c2ade43d0a3132cfeb4fc5;p=postgresql 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 --- 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;