Definition at line 88 of file walwriter.c.
89{
94
96
98
99
100
101
105
110
111
112
113
115
116
117
118
119
120
121
123 "Wal Writer",
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
146 {
147
149
150
152
153
155
156
157
158
159
160
171
172
173
174
175
178
179
181
182
184
185
186
187
188
189
191 }
192
193
195
196
197
198
200
201
202
203
207
208
209
210
211
213
214
215
216
217 for (;;)
218 {
220
221
222
223
224
225
226
227
228
229
231 {
234 }
235
236
238
239
241
242
243
244
245
250
251
253
254
255
256
257
258
261 else
263
268 }
269}
void pgaio_error_cleanup(void)
void AuxiliaryProcessMainCommon(void)
void AtEOXact_Buffers(bool isCommit)
#define Assert(condition)
bool ConditionVariableCancelSleep(void)
void AtEOXact_HashTables(bool isCommit)
void EmitErrorReport(void)
ErrorContextCallback * error_context_stack
void FlushErrorState(void)
sigjmp_buf * PG_exception_stack
void AtEOXact_Files(bool isCommit)
void SignalHandlerForShutdownRequest(SIGNAL_ARGS)
void ProcessMainLoopInterrupts(void)
void SignalHandlerForConfigReload(SIGNAL_ARGS)
void ResetLatch(Latch *latch)
int WaitLatch(Latch *latch, int wakeEvents, long timeout, uint32 wait_event_info)
void LWLockReleaseAll(void)
void MemoryContextReset(MemoryContext context)
MemoryContext TopMemoryContext
#define AllocSetContextCreate
#define ALLOCSET_DEFAULT_SIZES
#define RESUME_INTERRUPTS()
#define HOLD_INTERRUPTS()
static MemoryContext MemoryContextSwitchTo(MemoryContext context)
void pgstat_report_wal(bool force)
void procsignal_sigusr1_handler(SIGNAL_ARGS)
void ReleaseAuxProcessResources(bool isCommit)
void pg_usleep(long microsec)
static void pgstat_report_wait_end(void)
#define WL_EXIT_ON_PM_DEATH
#define LOOPS_UNTIL_HIBERNATE
void SetWalWriterSleeping(bool sleeping)
bool XLogBackgroundFlush(void)
References ALLOCSET_DEFAULT_SIZES, AllocSetContextCreate, Assert, AtEOXact_Buffers(), AtEOXact_Files(), AtEOXact_HashTables(), AtEOXact_SMgr(), AuxiliaryProcessMainCommon(), ConditionVariableCancelSleep(), EmitErrorReport(), error_context_stack, fb(), FlushErrorState(), HIBERNATE_FACTOR, HOLD_INTERRUPTS, LOOPS_UNTIL_HIBERNATE, LWLockReleaseAll(), MemoryContextReset(), MemoryContextSwitchTo(), MyLatch, MyProcNumber, PG_exception_stack, pg_usleep(), pgaio_error_cleanup(), pgstat_report_wait_end(), pgstat_report_wal(), pqsignal, ProcessMainLoopInterrupts(), ProcGlobal, procsignal_sigusr1_handler(), ReleaseAuxProcessResources(), ResetLatch(), RESUME_INTERRUPTS, SetWalWriterSleeping(), SIGALRM, SIGCHLD, SIGHUP, SignalHandlerForConfigReload(), SignalHandlerForShutdownRequest(), SIGPIPE, SIGUSR1, SIGUSR2, TopMemoryContext, UnBlockSig, UnlockBuffers(), WaitLatch(), WalWriterDelay, PROC_HDR::walwriterProc, WL_EXIT_ON_PM_DEATH, WL_LATCH_SET, WL_TIMEOUT, and XLogBackgroundFlush().