PostgreSQL Source Code
git master
|
#include "postgres.h"
#include <unistd.h>
#include <signal.h>
#include "miscadmin.h"
#include "pgstat.h"
#include "postmaster/auxprocess.h"
#include "storage/condition_variable.h"
#include "storage/ipc.h"
#include "storage/proc.h"
#include "storage/procsignal.h"
#include "utils/memutils.h"
#include "utils/ps_status.h"
Go to the source code of this file.
Functions | |
static void | ShutdownAuxiliaryProcess (int code, Datum arg) |
void | AuxiliaryProcessMainCommon (void) |
void AuxiliaryProcessMainCommon | ( | void | ) |
Definition at line 39 of file auxprocess.c.
References Assert, BaseInit(), before_shmem_exit(), CreateAuxProcessResourceOwner(), GetProcessingMode, IgnoreSystemIndexes, init_ps_display(), InitAuxiliaryProcess(), InitProcessing, IsUnderPostmaster, MemoryContextDelete(), NormalProcessing, pgstat_beinit(), pgstat_bestart(), PostmasterContext, ProcSignalInit(), SetProcessingMode, and ShutdownAuxiliaryProcess().
Referenced by BackgroundWriterMain(), CheckpointerMain(), PgArchiverMain(), StartupProcessMain(), WalReceiverMain(), WalSummarizerMain(), and WalWriterMain().
|
static |
Definition at line 97 of file auxprocess.c.
References ConditionVariableCancelSleep(), LWLockReleaseAll(), and pgstat_report_wait_end().
Referenced by AuxiliaryProcessMainCommon().