postgres.git / summary / log / commit / refs
commit 357e061286d2653737eee509f69d70ea85475e3a
Author: Simon Riggs <simon@2ndQuadrant.com>
Date: Fri Jan 27 12:16:18 2017 +0000
Check interrupts during hot standby waits
src/backend/storage/ipc/standby.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/backend/storage/ipc/standby.c b/src/backend/storage/ipc/standby.c
index 1c327fd45c7..4c064de44f9 100644
--- 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)
[parent: cf8c86af950b]