diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2019-06-13 10:53:17 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2019-06-13 10:53:17 -0400 |
commit | 9065fc2bd1cfd752ab57c6b8da38be423e4257bd (patch) | |
tree | d6cb5c85b1f8e6531a817d70a30c5efdff0ce222 | |
parent | 1ade21e7facc1202dadca4e916f4d5d3723f84b9 (diff) | |
download | postgresql-9065fc2bd1cfd752ab57c6b8da38be423e4257bd.tar.gz postgresql-9065fc2bd1cfd752ab57c6b8da38be423e4257bd.zip |
Mark ReplicationSlotCtl as PGDLLIMPORT.
Also MyReplicationSlot, in branches where it wasn't already.
This was discussed in the thread that resulted in c572599c6, 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
-rw-r--r-- | src/include/replication/slot.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/replication/slot.h b/src/include/replication/slot.h index e00562d274f..0f38de92b0f 100644 --- a/src/include/replication/slot.h +++ b/src/include/replication/slot.h @@ -147,7 +147,7 @@ typedef struct ReplicationSlotCtlData /* * Pointers to shared memory */ -extern ReplicationSlotCtlData *ReplicationSlotCtl; +extern PGDLLIMPORT ReplicationSlotCtlData *ReplicationSlotCtl; extern PGDLLIMPORT ReplicationSlot *MyReplicationSlot; /* GUCs */ |