We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c67946 commit 1bdd54eCopy full SHA for 1bdd54e
src/backend/postmaster/walwriter.c
@@ -293,18 +293,7 @@ HandleWalWriterInterrupts(void)
293
}
294
295
if (ShutdownRequestPending)
296
- {
297
- /*
298
- * Force reporting remaining WAL statistics at process exit.
299
- *
300
- * Since pgstat_report_wal is invoked with 'force' is false in main
301
- * loop to avoid overloading the cumulative stats system, there may
302
- * exist unreported stats counters for the WAL writer.
303
- */
304
- pgstat_report_wal(true);
305
-
306
proc_exit(0);
307
- }
308
309
/* Perform logging of memory contexts of this process */
310
if (LogMemoryContextPending)
0 commit comments