Skip to content
Snippets Groups Projects
Select Git revision
  • benchmark-tools
  • postgres-lambda
  • master default
  • REL9_4_25
  • REL9_5_20
  • REL9_6_16
  • REL_10_11
  • REL_11_6
  • REL_12_1
  • REL_12_0
  • REL_12_RC1
  • REL_12_BETA4
  • REL9_4_24
  • REL9_5_19
  • REL9_6_15
  • REL_10_10
  • REL_11_5
  • REL_12_BETA3
  • REL9_4_23
  • REL9_5_18
  • REL9_6_14
  • REL_10_9
  • REL_11_4
23 results

async.c

Blame
    • Tom Lane's avatar
      2487d872
      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
      History
      Create a multiplexing structure for signals to Postgres child processes.
      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