pgsql: Make autovacuum launcher more responsive to pg_log_backend_memor

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема pgsql: Make autovacuum launcher more responsive to pg_log_backend_memor
Дата
Msg-id E1ma61F-00069r-28@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e3e29cec10d15bbcedc6b41887d8f4e138d719bd

Modified Files
--------------
src/backend/postmaster/autovacuum.c | 4 ++++
1 file changed, 4 insertions(+)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Fujii Masao
Дата:
Сообщение: pgsql: Make autovacuum launcher more responsive to pg_log_backend_memor
Следующее
От: Michael Paquier
Дата:
Сообщение: pgsql: Add more $Test::Builder::Level in the TAP tests