postgres.git / summary / log / commit / refs

commit    945ae92c8a5ef929778e2e25ebf4ee1909c54954
Author:   Tom Lane <tgl@sss.pgh.pa.us>
Date:     Thu Jun 13 14:53:17 2019 +0000
First released in: 12.0, 9.4.23, 9.5.18, 9.6.14, 10.9, 11.4

    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


src/include/replication/slot.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/replication/slot.h b/src/include/replication/slot.h index 0c442330b22..c3b7cc8d622 100644 --- a/src/include/replication/slot.h +++ b/src/include/replication/slot.h @@ -156,7 +156,7 @@ typedef struct ReplicationSlotCtlData /* * Pointers to shared memory */ -extern ReplicationSlotCtlData *ReplicationSlotCtl; +extern PGDLLIMPORT ReplicationSlotCtlData *ReplicationSlotCtl; extern PGDLLIMPORT ReplicationSlot *MyReplicationSlot; /* GUCs */ [parent: 0f2b234263ef]