Content-Length: 261804 | pFad | http://github.com/postgrespro/postgres_cluster/commit/f669c09989bda894d6ba01634ccb229f0687c08a

D8 Restart logical replication launcher when killed · postgrespro/postgres_cluster@f669c09 · GitHub
Skip to content

Commit f669c09

Browse files
committed
Restart logical replication launcher when killed
Author: Yugo Nagata <nagata@sraoss.co.jp>
1 parent e3860ff commit f669c09

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/backend/tcop/postgres.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2854,8 +2854,9 @@ ProcessInterrupts(void)
28542854
ereport(DEBUG1,
28552855
(errmsg("logical replication launcher shutting down")));
28562856

2857-
/* The logical replication launcher can be stopped at any time. */
2858-
proc_exit(0);
2857+
/* The logical replication launcher can be stopped at any time.
2858+
* Use exit status 1 so the background worker is restarted. */
2859+
proc_exit(1);
28592860
}
28602861
else if (RecoveryConflictPending && RecoveryConflictRetryable)
28612862
{

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/f669c09989bda894d6ba01634ccb229f0687c08a

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy