aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/funcs.source
diff options
context:
space:
mode:
authorFujii Masao <fujii@postgresql.org>2020-11-12 13:25:23 +0900
committerFujii Masao <fujii@postgresql.org>2020-11-12 13:25:23 +0900
commit1a2ae7c50fb4ab17a8d38e755fc871ebc3a5845d (patch)
tree0b018615d1e687b0adcfc9a4e801e65c403f238f /src/tutorial/funcs.source
parent8ca8208ace4e67a9149946814d35d7cf18ff60d0 (diff)
downloadpostgresql-1a2ae7c50fb4ab17a8d38e755fc871ebc3a5845d.tar.gz
postgresql-1a2ae7c50fb4ab17a8d38e755fc871ebc3a5845d.zip
Use standard SIGHUP and SIGTERM handlers in walreceiver.
Commit 1e53fe0e70 changed background processes so that they use standard SIGHUP handler. Like that, this commit makes walreceiver use standard SIGHUP and SIGTERM handlers, to simplify the code. As the side effect of this commit, walreceiver can wake up and process the configuration files promptly when receiving SIGHUP. Because the standard SIGHUP handler sets the latch. On the other hand, previously there could be a time lag between the receipt of SIGHUP and the process of configuration files since the dedicated handler didn't set the latch. Author: Bharath Rupireddy, tweaked by Fujii Masao Reviewed-by: Kyotaro Horiguchi, Fujii Masao Discussion: https://postgr.es/m/CALj2ACXPorUqePswDtOeM_s82v9RW32E1fYmOPZ5NuE+TWKj_A@mail.gmail.com
Diffstat (limited to 'src/tutorial/funcs.source')
0 files changed, 0 insertions, 0 deletions