diff options
author | Simon Riggs <simon@2ndQuadrant.com> | 2017-01-27 12:15:02 +0000 |
---|---|---|
committer | Simon Riggs <simon@2ndQuadrant.com> | 2017-01-27 12:15:02 +0000 |
commit | ace2cd80a028fc8775146c946d3aff87810e4392 (patch) | |
tree | f7841f8b9967f602365f1426bb2166704e9b90ae /src | |
parent | 8fef0c34143ba45d4efcd0c352dee23602be54af (diff) | |
download | postgresql-ace2cd80a028fc8775146c946d3aff87810e4392.tar.gz postgresql-ace2cd80a028fc8775146c946d3aff87810e4392.zip |
Check interrupts during hot standby waits
Diffstat (limited to 'src')
-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 292bed55c61..46152a3fda9 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) |