mirror of
https://github.com/postgres/postgres.git
synced 2025-06-27 23:21:58 +03:00
Check interrupts during hot standby waits
This commit is contained in:
@ -158,6 +158,8 @@ WaitExceedsMaxStandbyDelay(void)
|
||||
{
|
||||
TimestampTz ltime;
|
||||
|
||||
CHECK_FOR_INTERRUPTS();
|
||||
|
||||
/* Are we past the limit time? */
|
||||
ltime = GetStandbyLimitTime();
|
||||
if (ltime && GetCurrentTimestamp() >= ltime)
|
||||
|
Reference in New Issue
Block a user