mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-28 08:17:18 +02:00
Check interrupts during hot standby waits
This commit is contained in:
parent
574b091e58
commit
40b7800da2
@ -160,6 +160,8 @@ WaitExceedsMaxStandbyDelay(void)
|
||||
{
|
||||
TimestampTz ltime;
|
||||
|
||||
CHECK_FOR_INTERRUPTS();
|
||||
|
||||
/* Are we past the limit time? */
|
||||
ltime = GetStandbyLimitTime();
|
||||
if (ltime && GetCurrentTimestamp() >= ltime)
|
||||
|
Loading…
Reference in New Issue
Block a user