PostgreSQL Source Code
git master
|
#include "postgres.h"
#include <unistd.h>
#include <signal.h>
#include "libpq/pqsignal.h"
#include "miscadmin.h"
#include "pgstat.h"
#include "postmaster/auxprocess.h"
#include "postmaster/bgwriter.h"
#include "postmaster/startup.h"
#include "postmaster/walwriter.h"
#include "replication/walreceiver.h"
#include "storage/bufmgr.h"
#include "storage/bufpage.h"
#include "storage/condition_variable.h"
#include "storage/ipc.h"
#include "storage/proc.h"
#include "tcop/tcopprot.h"
#include "utils/memutils.h"
#include "utils/ps_status.h"
#include "utils/rel.h"
Go to the source code of this file.
Functions | |
static void | ShutdownAuxiliaryProcess (int code, Datum arg) |
void | AuxiliaryProcessMain (AuxProcType auxtype) |
Variables | |
AuxProcType | MyAuxProcType = NotAnAuxProcess |
void AuxiliaryProcessMain | ( | AuxProcType | auxtype | ) |
Definition at line 57 of file auxprocess.c.
References ArchiverProcess, Assert(), B_ARCHIVER, B_BG_WRITER, B_CHECKPOINTER, B_INVALID, B_STARTUP, B_WAL_RECEIVER, B_WAL_WRITER, BackgroundWriterMain(), BaseInit(), before_shmem_exit(), BgWriterProcess, BootstrapProcessing, CheckpointerMain(), CheckpointerProcess, CreateAuxProcessResourceOwner(), elog(), IgnoreSystemIndexes, init_ps_display(), InitAuxiliaryProcess(), IsUnderPostmaster, MaxBackends, MyAuxProcType, MyBackendType, NormalProcessing, PANIC, PgArchiverMain(), pgstat_beinit(), pgstat_bestart(), proc_exit(), ProcSignalInit(), SetProcessingMode, ShutdownAuxiliaryProcess(), StartupProcess, StartupProcessMain(), WalReceiverMain(), WalReceiverProcess, WalWriterMain(), and WalWriterProcess.
Referenced by StartChildProcess().
|
static |
Definition at line 178 of file auxprocess.c.
References ConditionVariableCancelSleep(), LWLockReleaseAll(), and pgstat_report_wait_end().
Referenced by AuxiliaryProcessMain().
AuxProcType MyAuxProcType = NotAnAuxProcess |
Definition at line 45 of file auxprocess.c.
Referenced by AuxiliaryProcessMain(), and pgstat_beinit().