2017-01-19 18:00:00 +01:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
|
|
|
* logicallauncher.h
|
|
|
|
* Exports for logical replication launcher.
|
|
|
|
*
|
2022-01-08 01:04:57 +01:00
|
|
|
* Portions Copyright (c) 2016-2022, PostgreSQL Global Development Group
|
2017-01-19 18:00:00 +01:00
|
|
|
*
|
|
|
|
* src/include/replication/logicallauncher.h
|
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
#ifndef LOGICALLAUNCHER_H
|
|
|
|
#define LOGICALLAUNCHER_H
|
|
|
|
|
|
|
|
extern int max_logical_replication_workers;
|
2017-03-23 13:36:36 +01:00
|
|
|
extern int max_sync_workers_per_subscription;
|
2017-01-19 18:00:00 +01:00
|
|
|
|
|
|
|
extern void ApplyLauncherRegister(void);
|
|
|
|
extern void ApplyLauncherMain(Datum main_arg);
|
|
|
|
|
|
|
|
extern Size ApplyLauncherShmemSize(void);
|
|
|
|
extern void ApplyLauncherShmemInit(void);
|
|
|
|
|
|
|
|
extern void ApplyLauncherWakeupAtCommit(void);
|
2017-05-01 16:18:09 +02:00
|
|
|
extern void AtEOXact_ApplyLauncher(bool isCommit);
|
2017-01-19 18:00:00 +01:00
|
|
|
|
2017-06-09 00:00:53 +02:00
|
|
|
extern bool IsLogicalLauncher(void);
|
|
|
|
|
2017-01-19 18:00:00 +01:00
|
|
|
#endif /* LOGICALLAUNCHER_H */
|