postgresql/src/backend/postmaster
Fujii Masao e3e29cec10 Make autovacuum launcher more responsive to pg_log_backend_memory_contexts().
Previously when pg_log_backend_memory_contexts() sent the request to
the autovacuum launcher, it could take more than several seconds to
log its memory contexts. Because the function (HandleAutoVacLauncherInterrupts)
to process any new interrupts that autovacuum launcher received
didn't handle the request for logging of memory contexts. This commit changes
the function so that it handles the request, to make autovacuum launcher
more responsitve to pg_log_backend_memory_contexts().

Back-patch to v14 where pg_log_backend_memory_contexts() was added.

Author: Koyu Tanigawa
Reviewed-by: Bharath Rupireddy, Atsushi Torikoshi
Discussion: https://postgr.es/m/0aae3e074face409b35153451be5cc11@oss.nttdata.com
2021-10-12 09:50:17 +09:00
..
autovacuum.c Make autovacuum launcher more responsive to pg_log_backend_memory_contexts(). 2021-10-12 09:50:17 +09:00
auxprocess.c pgstat: Bring up pgstat in BaseInit() to fix uninitialized use of pgstat by AV. 2021-08-06 19:05:59 -07:00
bgworker.c Remove support for background workers without BGWORKER_SHMEM_ACCESS. 2021-08-13 05:49:26 -07:00
bgwriter.c Run checkpointer and bgwriter in crash recovery. 2021-08-02 17:32:44 +12:00
checkpointer.c pgstat: split reporting/fetching of bgwriter and checkpointer stats. 2021-08-04 19:16:04 -07:00
fork_process.c Update copyright for 2021 2021-01-02 13:06:25 -05:00
interrupt.c Update copyright for 2021 2021-01-02 13:06:25 -05:00
Makefile process startup: Move AuxiliaryProcessMain into its own file. 2021-08-05 12:12:11 -07:00
pgarch.c Make archiver process handle barrier events. 2021-06-18 17:57:09 +09:00
pgstat.c pgstat: Prepare to use mechanism for truncated rels also for droppped rels. 2021-09-20 14:02:48 -07:00
postmaster.c process startup: Split single user code out of PostgresMain(). 2021-09-17 19:56:47 -07:00
startup.c Move InRecovery and standbyState global vars to xlogutils.c. 2021-07-31 09:50:26 +03:00
syslogger.c Fix compilation warning in syslogger.c 2021-10-07 16:24:26 +09:00
walwriter.c Revert "Avoid creating archive status ".ready" files too early" 2021-09-04 12:14:30 -04:00