pgsql: Exit from base backups when shutdown is requested

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема pgsql: Exit from base backups when shutdown is requested
Дата
Msg-id E1Pdhy6-0007a6-NB@gemulon.postgresql.org
обсуждение исходный текст
Ответы Re: pgsql: Exit from base backups when shutdown is requested  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-committers
Exit from base backups when shutdown is requested

When the exit waits until the whole backup completes, it may take
a very long time.

In passing, add back an error check in the main loop so we detect
clients that disconnect much earlier if the backup is large.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=688423d004f4092aed73c73a3281c281d476436d

Modified Files
--------------
src/backend/replication/basebackup.c |   14 +++++++++++++-
src/backend/replication/walsender.c  |   16 ++++++++--------
src/include/replication/walsender.h  |    2 ++
3 files changed, 23 insertions(+), 9 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Code review for postmaster.pid contents changes.
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: pgsql: Exit from base backups when shutdown is requested