diff options
author | Simon Riggs | 2017-01-27 12:19:50 +0000 |
---|---|---|
committer | Simon Riggs | 2017-01-27 12:19:50 +0000 |
commit | 15c54e8363a28ab89e31bafebe6b093a77540b1d (patch) | |
tree | 4139d88f0f9e4f89eaedce135592c8f2f25b8e1a | |
parent | 14d0e290cbe72aac7911c159f40406dd7242353e (diff) |
Check interrupts during hot standby waits
-rw-r--r-- | src/backend/storage/ipc/standby.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) |