summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/include/replication/slot.h2
1 files changed, 1 insertions, 1 deletions
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;