PostgreSQL Source Code
git master
|
#include <bgworker.h>
Data Fields | |
char | bgw_name [BGW_MAXLEN] |
char | bgw_type [BGW_MAXLEN] |
int | bgw_flags |
BgWorkerStartTime | bgw_start_time |
int | bgw_restart_time |
char | bgw_library_name [MAXPGPATH] |
char | bgw_function_name [BGW_MAXLEN] |
Datum | bgw_main_arg |
char | bgw_extra [BGW_EXTRALEN] |
pid_t | bgw_notify_pid |
Definition at line 89 of file bgworker.h.
char BackgroundWorker::bgw_extra[BGW_EXTRALEN] |
Definition at line 99 of file bgworker.h.
Referenced by BackgroundWorkerStateChange(), LaunchParallelWorkers(), logicalrep_worker_launch(), ParallelApplyWorkerMain(), ParallelWorkerMain(), worker_spi_launch(), and worker_spi_main().
int BackgroundWorker::bgw_flags |
Definition at line 93 of file bgworker.h.
Referenced by _PG_init(), ApplyLauncherRegister(), apw_start_database_worker(), apw_start_leader_worker(), BackgroundWorkerInitializeConnection(), BackgroundWorkerInitializeConnectionByOid(), BackgroundWorkerMain(), BackgroundWorkerStateChange(), ForgetBackgroundWorker(), LaunchParallelWorkers(), logicalrep_worker_launch(), RegisterDynamicBackgroundWorker(), ResetBackgroundWorkerCrashTimes(), SanityCheckBackgroundWorker(), setup_background_workers(), and worker_spi_launch().
char BackgroundWorker::bgw_function_name[BGW_MAXLEN] |
Definition at line 97 of file bgworker.h.
Referenced by _PG_init(), ApplyLauncherRegister(), apw_start_database_worker(), apw_start_leader_worker(), BackgroundWorkerMain(), BackgroundWorkerStateChange(), LaunchParallelWorkers(), logicalrep_worker_launch(), setup_background_workers(), and worker_spi_launch().
char BackgroundWorker::bgw_library_name[MAXPGPATH] |
Definition at line 96 of file bgworker.h.
Referenced by _PG_init(), ApplyLauncherRegister(), apw_start_database_worker(), apw_start_leader_worker(), BackgroundWorkerMain(), BackgroundWorkerStateChange(), LaunchParallelWorkers(), logicalrep_worker_launch(), setup_background_workers(), and worker_spi_launch().
Datum BackgroundWorker::bgw_main_arg |
Definition at line 98 of file bgworker.h.
Referenced by _PG_init(), ApplyLauncherRegister(), BackgroundWorkerMain(), BackgroundWorkerStateChange(), LaunchParallelWorkers(), logicalrep_worker_launch(), setup_background_workers(), and worker_spi_launch().
char BackgroundWorker::bgw_name[BGW_MAXLEN] |
Definition at line 91 of file bgworker.h.
Referenced by _PG_init(), ApplyLauncherRegister(), apw_start_database_worker(), apw_start_leader_worker(), BackgroundWorkerMain(), BackgroundWorkerStateChange(), ForgetBackgroundWorker(), LaunchParallelWorkers(), logicalrep_worker_launch(), RegisterBackgroundWorker(), SanityCheckBackgroundWorker(), StartBackgroundWorker(), worker_spi_launch(), and worker_spi_main().
pid_t BackgroundWorker::bgw_notify_pid |
Definition at line 100 of file bgworker.h.
Referenced by _PG_init(), ApplyLauncherRegister(), apw_start_database_worker(), apw_start_leader_worker(), BackgroundWorkerShmemInit(), BackgroundWorkerStateChange(), BackgroundWorkerStopNotifications(), ForgetUnstartedBackgroundWorkers(), LaunchParallelWorkers(), logicalrep_worker_launch(), maybe_start_bgworkers(), RegisterBackgroundWorker(), ReportBackgroundWorkerExit(), ReportBackgroundWorkerPID(), ResetBackgroundWorkerCrashTimes(), setup_background_workers(), test_shm_mq_main(), and worker_spi_launch().
int BackgroundWorker::bgw_restart_time |
Definition at line 95 of file bgworker.h.
Referenced by _PG_init(), ApplyLauncherRegister(), apw_start_database_worker(), BackgroundWorkerStateChange(), DetermineSleepTime(), LaunchParallelWorkers(), logicalrep_worker_launch(), maybe_start_bgworkers(), ReportBackgroundWorkerExit(), ResetBackgroundWorkerCrashTimes(), SanityCheckBackgroundWorker(), setup_background_workers(), and worker_spi_launch().
BgWorkerStartTime BackgroundWorker::bgw_start_time |
Definition at line 94 of file bgworker.h.
Referenced by _PG_init(), ApplyLauncherRegister(), apw_start_database_worker(), apw_start_leader_worker(), BackgroundWorkerStateChange(), LaunchParallelWorkers(), logicalrep_worker_launch(), maybe_start_bgworkers(), SanityCheckBackgroundWorker(), setup_background_workers(), and worker_spi_launch().
char BackgroundWorker::bgw_type[BGW_MAXLEN] |
Definition at line 92 of file bgworker.h.
Referenced by _PG_init(), ApplyLauncherRegister(), apw_start_database_worker(), apw_start_leader_worker(), BackgroundWorkerStateChange(), bgworker_die(), CleanupBackend(), get_backend_type_for_log(), GetBackgroundWorkerTypeByPid(), LaunchParallelWorkers(), logicalrep_worker_launch(), ProcessInterrupts(), SanityCheckBackgroundWorker(), setup_background_workers(), and worker_spi_launch().