mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-28 00:31:51 +02:00
Restart logical replication launcher when killed
Author: Yugo Nagata <nagata@sraoss.co.jp>
This commit is contained in:
parent
e3860ffa4d
commit
f669c09989
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user