Fix signal handler setup for SIGHUP in the apply launcher process.
authorAmit Kapila
Fri, 17 Jul 2020 03:13:06 +0000 (08:43 +0530)
committerAmit Kapila
Fri, 17 Jul 2020 03:13:06 +0000 (08:43 +0530)
commit35647ea9d214c8745922cb757424f11d791ed733
tree3f5c35fc806646ffb8a156b49c96c992320cc793
parentbeebbb39d932289b73fa7cab4037895675615a8d
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