mirror of
https://github.com/postgres/postgres.git
synced 2026-06-04 06:16:57 -04:00
Check interrupts during hot standby waits
This commit is contained in:
parent
8fef0c3414
commit
ace2cd80a0
1 changed files with 2 additions and 0 deletions
|
|
@ -161,6 +161,8 @@ WaitExceedsMaxStandbyDelay(void)
|
|||
{
|
||||
TimestampTz ltime;
|
||||
|
||||
CHECK_FOR_INTERRUPTS();
|
||||
|
||||
/* Are we past the limit time? */
|
||||
ltime = GetStandbyLimitTime();
|
||||
if (ltime && GetCurrentTimestamp() >= ltime)
|
||||
|
|
|
|||
Loading…
Reference in a new issue