aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2017-06-05 18:53:41 -0700
committerAndres Freund <andres@anarazel.de>2017-06-05 19:18:15 -0700
commit47fd420fb4d3e77dde960312f8672c82b14ecbad (patch)
treebcf250db3eb04a16e7cb3682c7aef30253bd2403 /src/backend/tcop/postgres.c
parent703f148e98ecb4b299fdad403fc5a1de51220714 (diff)
downloadpostgresql-47fd420fb4d3e77dde960312f8672c82b14ecbad.tar.gz
postgresql-47fd420fb4d3e77dde960312f8672c82b14ecbad.zip
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
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions