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

Commit6d05d57

Browse files
author
Amit Kapila
committed
Add CHECK_FOR_INTERRUPTS while decoding changes.
While decoding changes in a loop, if we skip all the changes there is noCFI making the loop uninterruptible.Reported-by: Whale Song and Andrey BorodinBug: 17580Author: Masahiko SawadaReviwed-by: Amit KapilaBackpatch-through: 10Discussion:https://postgr.es/m/17580-849c1d5b6d7eb422@postgresql.orgDiscussion:https://postgr.es/m/B319ECD6-9A28-4CDF-A8F4-3591E0BF2369@yandex-team.ru
1 parent3bfea5c commit6d05d57

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
@@ -2078,6 +2078,8 @@ ReorderBufferProcessTXN(ReorderBuffer *rb, ReorderBufferTXN *txn,
20782078
Relationrelation=NULL;
20792079
Oidreloid;
20802080

2081+
CHECK_FOR_INTERRUPTS();
2082+
20812083
/*
20822084
* We can't call start stream callback before processing first
20832085
* change.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp