aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2017-06-05 18:53:42 -0700
committerAndres Freund <andres@anarazel.de>2017-06-05 19:18:16 -0700
commite1319f64ec07b2a6109ec670c056525ac58ef5a8 (patch)
tree89682d7f3a779ab65069716ce7c9e88788fc4048 /src/backend/tcop/postgres.c
parentb2482ab83242d895e0e0eaa362b5a918d15ce408 (diff)
downloadpostgresql-e1319f64ec07b2a6109ec670c056525ac58ef5a8.tar.gz
postgresql-e1319f64ec07b2a6109ec670c056525ac58ef5a8.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