Check interrupts during hot standby waits

This commit is contained in:
Simon Riggs 2017-01-27 12:16:18 +00:00
parent cf8c86af95
commit 357e061286

View file

@ -160,6 +160,8 @@ WaitExceedsMaxStandbyDelay(void)
{
TimestampTz ltime;
CHECK_FOR_INTERRUPTS();
/* Are we past the limit time? */
ltime = GetStandbyLimitTime();
if (ltime && GetCurrentTimestamp() >= ltime)