]> granicus.if.org Git - postgresql/commitdiff
Blind attempt at fixing Win32 issue on 24c5f1a103c
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 31 Mar 2016 02:06:34 +0000 (23:06 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 31 Mar 2016 02:12:20 +0000 (23:12 -0300)
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

index 8be8ab62a0f573e57280304f73a277a13bf7256b..efcce5fdd54fbff33dac08c77fabc4e208535a42 100644 (file)
@@ -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;