PostgreSQL Source Code
git master
|
Go to the source code of this file.
Macros | |
#define | DEFAULT_WAL_WRITER_FLUSH_AFTER ((1024 * 1024) / XLOG_BLCKSZ) |
Functions | |
void | WalWriterMain (void) pg_attribute_noreturn() |
Variables | |
PGDLLIMPORT int | WalWriterDelay |
PGDLLIMPORT int | WalWriterFlushAfter |
#define DEFAULT_WAL_WRITER_FLUSH_AFTER ((1024 * 1024) / XLOG_BLCKSZ) |
Definition at line 15 of file walwriter.h.
void WalWriterMain | ( | void | ) |
Definition at line 91 of file walwriter.c.
References ALLOCSET_DEFAULT_SIZES, AllocSetContextCreate, AtEOXact_Buffers(), AtEOXact_Files(), AtEOXact_HashTables(), AtEOXact_SMgr(), ConditionVariableCancelSleep(), EmitErrorReport(), error_context_stack, FlushErrorState(), HandleWalWriterInterrupts(), HIBERNATE_FACTOR, HOLD_INTERRUPTS, LOOPS_UNTIL_HIBERNATE, LWLockReleaseAll(), MemoryContextResetAndDeleteChildren, MemoryContextSwitchTo(), MyLatch, MyProc, PG_exception_stack, pg_usleep(), pgstat_report_wait_end(), pgstat_report_wal(), pqsignal(), ProcGlobal, PGPROC::procLatch, procsignal_sigusr1_handler(), ReleaseAuxProcessResources(), ResetLatch(), RESUME_INTERRUPTS, SetWalWriterSleeping(), SIG_DFL, SIG_IGN, SIGALRM, SIGCHLD, SIGHUP, SignalHandlerForConfigReload(), SignalHandlerForShutdownRequest(), SIGPIPE, SIGUSR1, SIGUSR2, smgrcloseall(), TopMemoryContext, UnBlockSig, UnlockBuffers(), WaitLatch(), WalWriterDelay, PROC_HDR::walwriterLatch, WL_EXIT_ON_PM_DEATH, WL_LATCH_SET, WL_TIMEOUT, and XLogBackgroundFlush().
Referenced by AuxiliaryProcessMain().
|
extern |
Definition at line 70 of file walwriter.c.
Referenced by LogicalRepApplyLoop(), WalWriterMain(), and XLogBackgroundFlush().
|
extern |
Definition at line 71 of file walwriter.c.
Referenced by XLogBackgroundFlush().