Commit e8ee3d6b authored by Simon Riggs's avatar Simon Riggs

Check interrupts during hot standby waits

parent 2a2bdcab
......@@ -161,6 +161,8 @@ WaitExceedsMaxStandbyDelay(void)
{
TimestampTz ltime;
CHECK_FOR_INTERRUPTS();
/* Are we past the limit time? */
ltime = GetStandbyLimitTime();
if (ltime && GetCurrentTimestamp() >= ltime)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment