pgsql: Use the regular main processing loop also in walsenders.

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: Use the regular main processing loop also in walsenders.
Дата
Msg-id E1TK8qt-0003AK-7Q@gemulon.postgresql.org
обсуждение исходный текст
Ответы Re: pgsql: Use the regular main processing loop also in walsenders.  (Thom Brown <thom@linux.com>)
Список pgsql-committers
Use the regular main processing loop also in walsenders.

The regular backend's main loop handles signal handling and error recovery
better than the current WAL sender command loop does. For example, if the
client hangs and a SIGTERM is received before starting streaming, the
walsender will now terminate immediately, rather than hang until the
connection times out.

Branch
------
master

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

Modified Files
--------------
src/backend/replication/basebackup.c |   16 +--
src/backend/replication/walsender.c  |  269 ++++++++--------------------------
src/backend/tcop/postgres.c          |   51 ++++++-
src/include/replication/walsender.h  |    5 +-
4 files changed, 109 insertions(+), 232 deletions(-)


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: pgsql: Disable _FORTIFY_SOURCE with ICC
Следующее
От: Michael Meskes
Дата:
Сообщение: pgsql: Fixed test for array boundary.