From: Simon Riggs Date: Fri, 27 Jan 2017 12:19:50 +0000 (+0000) Subject: Check interrupts during hot standby waits X-Git-Tag: REL9_2_20~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=15c54e8363a28ab89e31bafebe6b093a77540b1d;p=thirdparty%2Fpostgresql.git Check interrupts during hot standby waits --- diff --git a/src/backend/storage/ipc/standby.c b/src/backend/storage/ipc/standby.c index d07393313a1..9e139871e24 100644 --- a/src/backend/storage/ipc/standby.c +++ b/src/backend/storage/ipc/standby.c @@ -158,6 +158,8 @@ WaitExceedsMaxStandbyDelay(void) { TimestampTz ltime; + CHECK_FOR_INTERRUPTS(); + /* Are we past the limit time? */ ltime = GetStandbyLimitTime(); if (ltime && GetCurrentTimestamp() >= ltime)