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