projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a2bdca
)
Check interrupts during hot standby waits
author
Simon Riggs
<simon@2ndQuadrant.com>
Thu, 26 Jan 2017 18:59:58 +0000
(18:59 +0000)
committer
Simon Riggs
<simon@2ndQuadrant.com>
Thu, 26 Jan 2017 18:59:58 +0000
(18:59 +0000)
src/backend/storage/ipc/standby.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/storage/ipc/standby.c
b/src/backend/storage/ipc/standby.c
index 9cc1281766076d260673700eb0b0f828710096b2..6532240dd199219df6a8c1404f9baedbc74af403 100644
(file)
--- 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)