pgsql: Restart bgworkers immediately after a crash-and-restart cycle.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: Restart bgworkers immediately after a crash-and-restart cycle.
Дата
Msg-id E1Wi8Jo-0001VW-7B@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Restart bgworkers immediately after a crash-and-restart cycle.

Just as we would start bgworkers immediately after an initial startup
of the server, we should restart them immediately when reinitializing.

Petr Jelinek and Robert Haas

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/970d1f76d1600dfbdbd9cd88a9e2af113e253798

Modified Files
--------------
src/backend/postmaster/bgworker.c           |   34 ++++++++++++++++++++++-----
src/backend/postmaster/postmaster.c         |    7 +++---
src/include/postmaster/bgworker_internals.h |    1 +
3 files changed, 33 insertions(+), 9 deletions(-)


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Clean up jsonb code.
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: When a bgworker exits, always call ReleasePostmasterChildSlot.