Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf669c09

Browse files
committed
Restart logical replication launcher when killed
Author: Yugo Nagata <nagata@sraoss.co.jp>
1 parente3860ff commitf669c09

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
elseif (RecoveryConflictPending&&RecoveryConflictRetryable)
28612862
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp