PostgreSQL Source Code  git master
logicallauncher.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * logicallauncher.h
4  * Exports for logical replication launcher.
5  *
6  * Portions Copyright (c) 2016-2023, PostgreSQL Global Development Group
7  *
8  * src/include/replication/logicallauncher.h
9  *
10  *-------------------------------------------------------------------------
11  */
12 #ifndef LOGICALLAUNCHER_H
13 #define LOGICALLAUNCHER_H
14 
18 
19 extern void ApplyLauncherRegister(void);
20 extern void ApplyLauncherMain(Datum main_arg);
21 
22 extern Size ApplyLauncherShmemSize(void);
23 extern void ApplyLauncherShmemInit(void);
24 
25 extern void ApplyLauncherForgetWorkerStartTime(Oid subid);
26 
27 extern void ApplyLauncherWakeupAtCommit(void);
28 extern void AtEOXact_ApplyLauncher(bool isCommit);
29 
30 extern bool IsLogicalLauncher(void);
31 
32 extern pid_t GetLeaderApplyWorkerPid(pid_t pid);
33 
34 #endif /* LOGICALLAUNCHER_H */
#define PGDLLIMPORT
Definition: c.h:1303
size_t Size
Definition: c.h:589
PGDLLIMPORT int max_parallel_apply_workers_per_subscription
Definition: launcher.c:59
void AtEOXact_ApplyLauncher(bool isCommit)
Definition: launcher.c:1042
Size ApplyLauncherShmemSize(void)
Definition: launcher.c:862
bool IsLogicalLauncher(void)
Definition: launcher.c:1198
PGDLLIMPORT int max_logical_replication_workers
Definition: launcher.c:57
PGDLLIMPORT int max_sync_workers_per_subscription
Definition: launcher.c:58
void ApplyLauncherMain(Datum main_arg)
Definition: launcher.c:1078
void ApplyLauncherShmemInit(void)
Definition: launcher.c:910
void ApplyLauncherWakeupAtCommit(void)
Definition: launcher.c:1061
pid_t GetLeaderApplyWorkerPid(pid_t pid)
Definition: launcher.c:1208
void ApplyLauncherForgetWorkerStartTime(Oid subid)
Definition: launcher.c:1031
void ApplyLauncherRegister(void)
Definition: launcher.c:881
uintptr_t Datum
Definition: postgres.h:64
unsigned int Oid
Definition: postgres_ext.h:31