Re: [HACKERS] Logical replication launcher never been restarted whenterminated

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [HACKERS] Logical replication launcher never been restarted whenterminated
Дата
Msg-id 40eda5a9-d127-44fa-86c4-b18ed0c3d2df@2ndquadrant.com
обсуждение исходный текст
Ответ на [HACKERS] Logical replication launcher never been restarted when terminated  (Yugo Nagata <nagata@sraoss.co.jp>)
Ответы Re: [HACKERS] Logical replication launcher never been restartedwhen terminated  (Yugo Nagata <nagata@sraoss.co.jp>)
Список pgsql-hackers
On 6/21/17 13:03, Yugo Nagata wrote:
> As I report in another thread[1], when the logical replication launcher 
> is terminated by SIGTERM, it never been restarted and we need to restart
> the server to enable logical replication again.
> 
> This is because the logical replication launcher exits with exitstatus 0,
> so if it exits with status 1 it is restarted by the postmaster normally.
> Attached is a simple patch to fix it in this way.

Fixed, thanks!

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] Adding connection id in the startup message
Следующее
От: Satyanarayana Narlapuram
Дата:
Сообщение: Re: [HACKERS] Making server name part of the startup message