Content-Length: 263345 | pFad | http://github.com/postgrespro/postgres/commit/8e861eaae86eeaf5589963c9b1c7ce6d4c2acbb5

C2 Explain postmaster's treatment of SIGURG. · postgrespro/postgres@8e861ea · GitHub
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)








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/commit/8e861eaae86eeaf5589963c9b1c7ce6d4c2acbb5

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy