projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14d0e29
)
Check interrupts during hot standby waits
author
Simon Riggs
<
[email protected]
>
Fri, 27 Jan 2017 12:19:50 +0000
(12:19 +0000)
committer
Simon Riggs
<
[email protected]
>
Fri, 27 Jan 2017 12:19:50 +0000
(12:19 +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 d07393313a1920f7fcbbbd004a8e3ffd8f8531e8..9e139871e24fe6172c4c740a4f93a1e94fc6209f 100644
(file)
--- 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)