diff options
Diffstat (limited to 'src/include/replication/slotsync.h')
-rw-r--r-- | src/include/replication/slotsync.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/include/replication/slotsync.h b/src/include/replication/slotsync.h new file mode 100644 index 00000000000..e86d8a47b85 --- /dev/null +++ b/src/include/replication/slotsync.h @@ -0,0 +1,23 @@ +/*------------------------------------------------------------------------- + * + * slotsync.h + * Exports for slot synchronization. + * + * Portions Copyright (c) 2016-2024, PostgreSQL Global Development Group + * + * src/include/replication/slotsync.h + * + *------------------------------------------------------------------------- + */ +#ifndef SLOTSYNC_H +#define SLOTSYNC_H + +#include "replication/walreceiver.h" + +extern void ValidateSlotSyncParams(void); +extern bool IsSyncingReplicationSlots(void); +extern Size SlotSyncShmemSize(void); +extern void SlotSyncShmemInit(void); +extern void SyncReplicationSlots(WalReceiverConn *wrconn); + +#endif /* SLOTSYNC_H */ |