pgsql: Fix bug in handling of connections that pg_receivexlog creates.

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема pgsql: Fix bug in handling of connections that pg_receivexlog creates.
Дата
Msg-id E1XfBww-0006eq-Ih@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix bug in handling of connections that pg_receivexlog creates.

Previously pg_receivexlog created new connection for WAL streaming
even though another connection which had been established to create
or delete the replication slot was being left. This caused the unused
connection to be left uselessly until pg_receivexlog exited.
This bug was introduced by the commit d9f38c7.

This patch changes pg_receivexlog so that the connection for
the replication slot is reused for WAL streaming.

Andres Freund, slightly modified by me, reviewed by Michael Paquier

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/504c717599b20cdaf09e9d7b6ecd152cc7a3a71a

Modified Files
--------------
src/bin/pg_basebackup/pg_receivexlog.c |    9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix core dump in pg_dump --binary-upgrade on zero-column composi
Следующее
От: Fujii Masao
Дата:
Сообщение: Re: pgsql: Add support for managing physical replication slots to pg_receiv