postgresql/src/backend
Fujii Masao 1a2ae7c50f 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
2020-11-12 13:25:23 +09:00
..
access Remove duplicate code in brin_memtuple_initialize 2020-11-11 18:37:59 +01:00
bootstrap Fix some stray whitespace in parser files 2020-11-11 17:37:18 +01:00
catalog Move catalog index declarations 2020-11-07 12:26:24 +01:00
commands pg_stat_statements: track number of rows processed by REFRESH MATERIALIZED VIEW. 2020-11-12 11:26:55 +09:00
executor Remove useless entries for aggregate functions from fmgrtab.c. 2020-11-04 11:25:56 -05:00
foreign Update copyrights for 2020 2020-01-01 12:21:45 -05:00
jit jit: Add support for LLVM 12. 2020-11-09 20:01:33 -08:00
lib Use pg_bitutils for HyperLogLog. 2020-07-30 09:14:23 -07:00
libpq Message style improvements 2020-11-07 19:33:43 -03:00
main Remove -o option to postmaster 2020-11-10 13:15:01 +01:00
nodes Improve our ability to regurgitate SQL-syntax function calls. 2020-11-04 12:34:50 -05:00
optimizer Fix get_useful_pathkeys_for_relation for volatile expressions 2020-11-03 22:31:57 +01:00
parser Fix some stray whitespace in parser files 2020-11-11 17:37:18 +01:00
partitioning Move catalog index declarations 2020-11-07 12:26:24 +01:00
po Translation updates 2020-05-18 12:49:30 +02:00
port Fix -Wcast-function-type warnings on Windows/MinGW 2020-10-21 08:17:51 +02:00
postmaster Fix out of date comment 2020-11-10 13:15:44 +01:00
regex Dial back -Wimplicit-fallthrough to level 3 2020-05-13 15:31:14 -04:00
replication Use standard SIGHUP and SIGTERM handlers in walreceiver. 2020-11-12 13:25:23 +09:00
rewrite Move catalog index declarations 2020-11-07 12:26:24 +01:00
snowball code: replace most remaining uses of 'master'. 2020-07-08 13:24:35 -07:00
statistics Fix some grammar and typos in comments and docs 2020-11-02 15:14:41 +09:00
storage Revert pg_relation_check_pages() 2020-11-04 10:21:46 +09:00
tcop Remove -o option to postmaster 2020-11-10 13:15:01 +01:00
tsearch Improve behavior of tsearch_readline(), and remove t_readline(). 2020-09-23 20:26:58 -04:00
utils Fix some stray whitespace in parser files 2020-11-11 17:37:18 +01:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
common.mk Remove PARTIAL_LINKING build mode. 2018-03-30 17:33:04 -07:00
Makefile Update copyrights for 2020 2020-01-01 12:21:45 -05:00
nls.mk Add missing gettext triggers 2020-04-28 13:35:40 +02:00