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

user.c

  • Tom Lane's avatar
    fb5f1b2c
    Merge three existing ways of signaling postmaster from child processes, · fb5f1b2c
    Tom Lane authored
    so that only one signal number is used not three.  Flags in shared
    memory tell the reason(s) for the current signal.  This method is
    extensible to handle more signal reasons without chewing up even more
    signal numbers, but the immediate reason is to keep pg_pwd reloads
    separate from SIGHUP processing in the postmaster.
    Also clean up some problems in the postmaster with delayed response to
    checkpoint status changes --- basically, it wouldn't schedule a checkpoint
    if it wasn't getting connection requests on a regular basis.
    fb5f1b2c
    History
    Merge three existing ways of signaling postmaster from child processes,
    Tom Lane authored
    so that only one signal number is used not three.  Flags in shared
    memory tell the reason(s) for the current signal.  This method is
    extensible to handle more signal reasons without chewing up even more
    signal numbers, but the immediate reason is to keep pg_pwd reloads
    separate from SIGHUP processing in the postmaster.
    Also clean up some problems in the postmaster with delayed response to
    checkpoint status changes --- basically, it wouldn't schedule a checkpoint
    if it wasn't getting connection requests on a regular basis.