mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-18 20:36:58 +08:00
Commit aafc05de1bf5 removed StartSlotSyncWorker() but mistakenly left the prototype in slotsync.h. Fix by removing. Reported-by: Alexander Lakhin <exclusion@gmail.com> Discussion: https://postgr.es/m/3F577953-A29E-4722-98AD-2DA9EFF2CBB8@yesql.se
39 lines
1.1 KiB
C
39 lines
1.1 KiB
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* 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 PGDLLIMPORT bool sync_replication_slots;
|
|
|
|
/*
|
|
* GUCs needed by slot sync worker to connect to the primary
|
|
* server and carry on with slots synchronization.
|
|
*/
|
|
extern PGDLLIMPORT char *PrimaryConnInfo;
|
|
extern PGDLLIMPORT char *PrimarySlotName;
|
|
|
|
extern char *CheckAndGetDbnameFromConninfo(void);
|
|
extern bool ValidateSlotSyncParams(int elevel);
|
|
|
|
extern void ReplSlotSyncWorkerMain(char *startup_data, size_t startup_data_len) pg_attribute_noreturn();
|
|
|
|
extern void ShutDownSlotSync(void);
|
|
extern bool SlotSyncWorkerCanRestart(void);
|
|
extern bool IsSyncingReplicationSlots(void);
|
|
extern Size SlotSyncShmemSize(void);
|
|
extern void SlotSyncShmemInit(void);
|
|
extern void SyncReplicationSlots(WalReceiverConn *wrconn);
|
|
|
|
#endif /* SLOTSYNC_H */
|