Fix signal handler setup for SIGHUP in the apply launcher process.
authorAmit Kapila <akapila@postgresql.org>
Fri, 17 Jul 2020 03:32:44 +0000 (09:02 +0530)
committerAmit Kapila <akapila@postgresql.org>
Fri, 17 Jul 2020 03:32:44 +0000 (09:02 +0530)
commit01160a3de3d89346c9597414ff85416b77f5391f
tree608b81c1347dc171a64053e656a43b3a0a552e0d
parentcdc7169509113018cc389da740e950c587b5751f
Fix signal handler setup for SIGHUP in the apply launcher process.

Commit 1e53fe0e70 has unified the usage of the config-file reload flag by
using the same signal handler function for the SIGHUP signal at many places
in the code.  By mistake, it used the wrong SIGNAL in apply launcher
process for the SIGHUP signal handler function.

Author: Bharath Rupireddy
Reviewed-by: Dilip Kumar
Backpatch-through: 13, where it was introduced
Discussion: https://postgr.es/m/CALj2ACVzHCRnS20bOiEHaLtP5PVBENZQn4khdsSJQgOv_GM-LA@mail.gmail.com
src/backend/replication/logical/launcher.c