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

Commit01160a3

Browse files
author
Amit Kapila
committed
Fix signal handler setup for SIGHUP in the apply launcher process.
Commit1e53fe0 has unified the usage of the config-file reload flag byusing the same signal handler function for the SIGHUP signal at many placesin the code. By mistake, it used the wrong SIGNAL in apply launcherprocess for the SIGHUP signal handler function.Author: Bharath RupireddyReviewed-by: Dilip KumarBackpatch-through: 13, where it was introducedDiscussion:https://postgr.es/m/CALj2ACVzHCRnS20bOiEHaLtP5PVBENZQn4khdsSJQgOv_GM-LA@mail.gmail.com
1 parentcdc7169 commit01160a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/replication/logical/launcher.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -956,7 +956,7 @@ ApplyLauncherMain(Datum main_arg)
956956
LogicalRepCtx->launcher_pid=MyProcPid;
957957

958958
/* Establish signal handlers. */
959-
pqsignal(SIGTERM,SignalHandlerForConfigReload);
959+
pqsignal(SIGHUP,SignalHandlerForConfigReload);
960960
pqsignal(SIGTERM,die);
961961
BackgroundWorkerUnblockSignals();
962962

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp