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

Skip to content

Commit 332068a

Browse files
Check interrupts during hot standby waits
1 parent 1ad163e commit 332068a

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
@@ -160,6 +160,8 @@ WaitExceedsMaxStandbyDelay(void)
160160
{
161161
TimestampTz ltime;
162162

163+
CHECK_FOR_INTERRUPTS();
164+
163165
/* Are we past the limit time? */
164166
ltime = GetStandbyLimitTime();
165167
if (ltime && GetCurrentTimestamp() >= ltime)

0 commit comments

Comments
 (0)
0