aboutsummaryrefslogtreecommitdiff
path: root/src/backend/regex/regexec.c
diff options
context:
space:
mode:
authorFujii Masao <fujii@postgresql.org>2020-11-16 18:27:51 +0900
committerFujii Masao <fujii@postgresql.org>2021-07-25 11:15:30 +0900
commit8d091922ffcc27323ffe2127e228e302b9f153f4 (patch)
tree9a9740d4ac543d5fe5849e744e944b7dc5edf275 /src/backend/regex/regexec.c
parentf47408cdc19c2bbe357703afd81037b6d12ed3ba (diff)
downloadpostgresql-8d091922ffcc27323ffe2127e228e302b9f153f4.tar.gz
postgresql-8d091922ffcc27323ffe2127e228e302b9f153f4.zip
Make the standby server promptly handle interrupt signals.
This commit changes the startup process in the standby server so that it handles the interrupt signals after waiting for wal_retrieve_retry_interval on the latch and resetting it, before entering another wait on the latch. This change causes the standby server to promptly handle interrupt signals. Otherwise, previously, there was the case where the standby needs to wait extra five seconds to shutdown when the shutdown request arrived while the startup process was waiting for wal_retrieve_retry_interval on the latch. Author: Fujii Masao, but implementation idea is from Soumyadeep Chakraborty Reviewed-by: Soumyadeep Chakraborty Discussion: https://postgr.es/m/9d7e6ab0-8a53-ddb9-63cd-289bcb25fe0e@oss.nttdata.com Per discussion of BUG #17073, back-patch to all supported versions. Discussion: https://postgr.es/m/17073-1a5fdaed0fa5d4d0@postgresql.org
Diffstat (limited to 'src/backend/regex/regexec.c')
0 files changed, 0 insertions, 0 deletions