pgsql: Kill pg_basebackup background process when exiting

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема pgsql: Kill pg_basebackup background process when exiting
Дата
Msg-id E1WDdtY-0002ff-HG@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Kill pg_basebackup background process when exiting

If an error occurs in the foreground (backup) process of pg_basebackup,
and we exit in a controlled way, the background process (streaming
xlog process) would stay around and keep streaming.

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/c90204c605b7e12858e52b6af6efdbf3cb1c1bc4

Modified Files
--------------
src/bin/pg_basebackup/pg_basebackup.c  |   21 +++++++++++++++++++++
src/bin/pg_basebackup/pg_receivexlog.c |    7 +++++++
src/bin/pg_basebackup/streamutil.h     |    6 ------
3 files changed, 28 insertions(+), 6 deletions(-)


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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: pgsql: Kill pg_basebackup background process when exiting
Следующее
От: Andres Freund
Дата:
Сообщение: Re: pgsql: Kill pg_basebackup background process when exiting