projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ad163e
)
Check interrupts during hot standby waits
author
Simon Riggs
Fri, 27 Jan 2017 12:18:07 +0000
(12:18 +0000)
committer
Simon Riggs
Fri, 27 Jan 2017 12:18:07 +0000
(12:18 +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 bc57e7aec33c44f69ccba349b47f2233c7ee280a..07f47cbd5775e8de16a1b5d6ebfebdce240c0123 100644
(file)
--- a/
src/backend/storage/ipc/standby.c
+++ b/
src/backend/storage/ipc/standby.c
@@
-160,6
+160,8
@@
WaitExceedsMaxStandbyDelay(void)
{
TimestampTz ltime;
+ CHECK_FOR_INTERRUPTS();
+
/* Are we past the limit time? */
ltime = GetStandbyLimitTime();
if (ltime && GetCurrentTimestamp() >= ltime)