[COMMITTERS] pgsql: Have walsenders participate in procsignal infrastructure. - Mailing list pgsql-committers

From Andres Freund
Subject [COMMITTERS] pgsql: Have walsenders participate in procsignal infrastructure.
Date
Msg-id E1dI4BR-0004u8-7X@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Have walsenders participate in procsignal infrastructure.

The non-participation in procsignal was a problem for both changes in
master, e.g. parallelism not working for normal statements run in
walsender backends, and older branches, e.g. recovery conflicts and
catchup interrupts not working for logical decoding walsenders.

This commit thus replaces the previous WalSndXLogSendHandler with
procsignal_sigusr1_handler.  In branches since db0f6cad48 that can
lead to additional SetLatch calls, but that only rarely seems to make
a difference.

Author: Andres Freund
Reviewed-By: Michael Paquier
Discussion: https://postgr.es/m/20170421014030.fdzvvvbrz4nckrow@alap3.anarazel.de
Backpatch: 9.4, earlier commits don't seem to benefit sufficiently

Branch
------
REL9_4_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/f4e484dd00bdfe5c8e423fe5c826d8fe2a3c7135

Modified Files
--------------
src/backend/replication/walsender.c | 14 +-------------
1 file changed, 1 insertion(+), 13 deletions(-)


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: [COMMITTERS] pgsql: Have walsenders participate in procsignal infrastructure.
Next
From: Andres Freund
Date:
Subject: [COMMITTERS] pgsql: Unify SIGHUP handling between normal and walsender backends.