Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1eed947

Browse files
author
Amit Kapila
committed
Add CHECK_FOR_INTERRUPTS while restoring changes during decoding.
Previously in commit42681df, we added CFI during decoding changes butmissed another similar case that can happen while restoring changesspilled to disk back into memory in a loop.Reported-by: Robert HaasAuthor: Amit KapilaBackpatch-through: 10Discussion:https://postgr.es/m/CA+TgmoaLObg0QbstbC8ykDwOdD1bDkr4AbPpB=0DPgA2JW0mFg@mail.gmail.com
1 parent38dbaaf commit1eed947

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎src/backend/replication/logical/reorderbuffer.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2830,6 +2830,8 @@ ReorderBufferRestoreChanges(ReorderBuffer *rb, ReorderBufferTXN *txn,
28302830
intreadBytes;
28312831
ReorderBufferDiskChange*ondisk;
28322832

2833+
CHECK_FOR_INTERRUPTS();
2834+
28332835
if (*fd==-1)
28342836
{
28352837
charpath[MAXPGPATH];

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp