Check interrupts during hot standby waits
This commit is contained in:
parent
14d0e290cb
commit
15c54e8363
@ -158,6 +158,8 @@ WaitExceedsMaxStandbyDelay(void)
|
||||
{
|
||||
TimestampTz ltime;
|
||||
|
||||
CHECK_FOR_INTERRUPTS();
|
||||
|
||||
/* Are we past the limit time? */
|
||||
ltime = GetStandbyLimitTime();
|
||||
if (ltime && GetCurrentTimestamp() >= ltime)
|
||||
|
Loading…
x
Reference in New Issue
Block a user