mirror of
https://github.com/postgres/postgres.git
synced 2025-05-29 16:21:20 +03:00
Check interrupts during hot standby waits
This commit is contained in:
parent
1ad163ef01
commit
332068a212
@ -160,6 +160,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