projects
/
users
/
heikki
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fef0c3
)
Check interrupts during hot standby waits
author
Simon Riggs
<
[email protected]
>
Fri, 27 Jan 2017 12:15:02 +0000
(12:15 +0000)
committer
Simon Riggs
<
[email protected]
>
Fri, 27 Jan 2017 12:15:02 +0000
(12:15 +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 292bed55c6123ec87159d3b2500350c58decff98..46152a3fda9f6e38dcf90233a1f83bd52a15a52e 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)