Blind attempt at fixing Win32 issue on 24c5f1a103

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
pull/11/head
Alvaro Herrera 10 years ago
parent cee31f5fee
commit 3dd0792ae0
  1. 2
      src/include/replication/slot.h

@ -144,7 +144,7 @@ typedef struct ReplicationSlotCtlData
* Pointers to shared memory * Pointers to shared memory
*/ */
extern ReplicationSlotCtlData *ReplicationSlotCtl; extern ReplicationSlotCtlData *ReplicationSlotCtl;
extern ReplicationSlot *MyReplicationSlot; extern PGDLLIMPORT ReplicationSlot *MyReplicationSlot;
/* GUCs */ /* GUCs */
extern PGDLLIMPORT int max_replication_slots; extern PGDLLIMPORT int max_replication_slots;

Loading…
Cancel
Save