Commit f669c099 authored by Peter Eisentraut's avatar Peter Eisentraut

Restart logical replication launcher when killed

Author: Yugo Nagata <nagata@sraoss.co.jp>
parent e3860ffa
......@@ -2854,8 +2854,9 @@ ProcessInterrupts(void)
ereport(DEBUG1,
(errmsg("logical replication launcher shutting down")));
/* The logical replication launcher can be stopped at any time. */
proc_exit(0);
/* The logical replication launcher can be stopped at any time.
* Use exit status 1 so the background worker is restarted. */
proc_exit(1);
}
else if (RecoveryConflictPending && RecoveryConflictRetryable)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment