We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3860ff commit f669c09Copy full SHA for f669c09
src/backend/tcop/postgres.c
@@ -2854,8 +2854,9 @@ ProcessInterrupts(void)
2854
ereport(DEBUG1,
2855
(errmsg("logical replication launcher shutting down")));
2856
2857
- /* The logical replication launcher can be stopped at any time. */
2858
- proc_exit(0);
+ /* The logical replication launcher can be stopped at any time.
+ * Use exit status 1 so the background worker is restarted. */
2859
+ proc_exit(1);
2860
}
2861
else if (RecoveryConflictPending && RecoveryConflictRetryable)
2862
{
0 commit comments