From: Simon Riggs Date: Thu, 26 Jan 2017 18:59:58 +0000 (+0000) Subject: Check interrupts during hot standby waits X-Git-Tag: REL_10_BETA1~1004 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=e8ee3d6b859a18d7f7375ceb9e04d256eb18aaec;p=postgresql.git Check interrupts during hot standby waits --- diff --git a/src/backend/storage/ipc/standby.c b/src/backend/storage/ipc/standby.c index 9cc12817660..6532240dd19 100644 --- a/src/backend/storage/ipc/standby.c +++ b/src/backend/storage/ipc/standby.c @@ -161,6 +161,8 @@ WaitExceedsMaxStandbyDelay(void) { TimestampTz ltime; + CHECK_FOR_INTERRUPTS(); + /* Are we past the limit time? */ ltime = GetStandbyLimitTime(); if (ltime && GetCurrentTimestamp() >= ltime)