Skip to content
Snippets Groups Projects
Commit 2c5756ba authored by Tom Lane's avatar Tom Lane
Browse files

Mark ReplicationSlotCtl as PGDLLIMPORT.

Also MyReplicationSlot, in branches where it wasn't already.

This was discussed in the thread that resulted in c572599c, but
for some reason nobody pulled the trigger.  Now that we have another
request for the same thing, we should just do it.

Craig Ringer

Discussion: https://postgr.es/m/CAMsr+YFTsq-86MnsNng=mPvjjh5EAbzfMK0ptJPvzyvpFARuRg@mail.gmail.com
Discussion: https://postgr.es/m/345138875.20190611151943@cybertec.at
parent eddb7970
No related branches found
No related tags found
No related merge requests found
...@@ -140,8 +140,8 @@ typedef struct ReplicationSlotCtlData ...@@ -140,8 +140,8 @@ typedef struct ReplicationSlotCtlData
/* /*
* Pointers to shared memory * Pointers to shared memory
*/ */
extern ReplicationSlotCtlData *ReplicationSlotCtl; extern PGDLLIMPORT ReplicationSlotCtlData *ReplicationSlotCtl;
extern ReplicationSlot *MyReplicationSlot; extern PGDLLIMPORT ReplicationSlot *MyReplicationSlot;
/* GUCs */ /* GUCs */
extern PGDLLIMPORT int max_replication_slots; extern PGDLLIMPORT int max_replication_slots;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment