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

Commit61a7d57

Browse files
committed
Fix SIGHUP handling by unconnected bgworkers
Add a SignalUnconnectedWorkers() call so that non-database-connected backgroundworkers are also notified when postmaster is SIGHUPped. Previously, onlydatabase-connected workers were.Michael Paquier (bug report and fix)
1 parent6f5b8be commit61a7d57

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎src/backend/postmaster/postmaster.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2280,6 +2280,7 @@ SIGHUP_handler(SIGNAL_ARGS)
22802280
(errmsg("received SIGHUP, reloading configuration files")));
22812281
ProcessConfigFile(PGC_SIGHUP);
22822282
SignalChildren(SIGHUP);
2283+
SignalUnconnectedWorkers(SIGHUP);
22832284
if (StartupPID!=0)
22842285
signal_child(StartupPID,SIGHUP);
22852286
if (BgWriterPID!=0)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp