git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2a2bdca)
Check interrupts during hot standby waits
2017年1月26日 18:59:58 +0000 (18:59 +0000)
2017年1月26日 18:59:58 +0000 (18:59 +0000)

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)
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /