Use standard SIGHUP handler in syslogger.
authorFujii Masao <fujii@postgresql.org>
Wed, 4 Nov 2020 05:48:02 +0000 (14:48 +0900)
committerFujii Masao <fujii@postgresql.org>
Wed, 4 Nov 2020 05:48:02 +0000 (14:48 +0900)
commit02d332297f9bfe63476d53a439cc8f3b05bb5e67
treefa92a88d6b6d85eb743c5bf45493cc62a15971c0
parent9f12a3b95dd56c897f1aa3d756d8fb419e84a187
Use standard SIGHUP handler in syslogger.

Commit 1e53fe0e70 changed background processes so that they use
standard SIGHUP handler. Like that, this commit makes syslogger use
standard SIGHUP handler to simplify the code.

Author: Bharath Rupireddy
Reviewed-by: Fujii Masao
Discussion: http://postgr.es/m/CALj2ACXPorUqePswDtOeM_s82v9RW32E1fYmOPZ5NuE+TWKj_A@mail.gmail.com
src/backend/postmaster/syslogger.c