Skip to content

Commit 8e861ea

Browse files
committed
Explain postmaster's treatment of SIGURG.
Add a few words of comment to explain why SIGURG doesn't follow the dummy_handler pattern used for SIGUSR2, since that might otherwise appear to be a bug. Discussion: https://postgr.es/m/4006115.1618577212%40sss.pgh.pa.us
1 parent 4ed7f05 commit 8e861ea

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/backend/postmaster/postmaster.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -660,6 +660,11 @@ PostmasterMain(int argc, char *argv[])
660660
pqsignal_pm(SIGCHLD, reaper); /* handle child termination */
661661

662662
#ifdef SIGURG
663+
/*
664+
* Ignore SIGURG for now. Child processes may change this (see
665+
* InitializeLatchSupport), but they will not receive any such signals
666+
* until they wait on a latch.
667+
*/
663668
pqsignal_pm(SIGURG, SIG_IGN); /* ignored */
664669
#endif
665670

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy