• Tom Lane's avatar
    Create a multiplexing structure for signals to Postgres child processes. · 2487d872
    Tom Lane authored
    This patch gets us out from under the Unix limitation of two user-defined
    signal types.  We already had done something similar for signals directed to
    the postmaster process; this adds multiplexing for signals directed to
    backends and auxiliary processes (so long as they're connected to shared
    memory).
    
    As proof of concept, replace the former usage of SIGUSR1 and SIGUSR2
    for backends with use of the multiplexing mechanism.  There are still some
    hard-wired definitions of SIGUSR1 and SIGUSR2 for other process types,
    but getting rid of those doesn't seem interesting at the moment.
    
    Fujii Masao
    2487d872
sinvaladt.c 22 KB