8000 Check interrupts during hot standby waits · hackingwu/postgres@15c54e8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 15c54e8

Browse files
Check interrupts during hot standby waits
1 parent 14d0e29 commit 15c54e8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/backend/storage/ipc/standby.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,8 @@ WaitExceedsMaxStandbyDelay(void)
158158
{
159159
TimestampTz ltime;
160160

161+
CHECK_FOR_INTERRUPTS();
162+
161163
/* Are we past the limit time? */
162164
ltime = GetStandbyLimitTime();
163165
if (ltime && GetCurrentTimestamp() >= ltime)

0 commit comments

Comments
 (0)
0