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

Commitf8c5855

Browse files
committed
Fix typo in ReorderBufferIterTXNInit().
This looks like it would cause changes from subtransactions to be missedby the iterator being constructed, if those changes had been spilled todisk previously. This implies that large subtransactions might be lost(in whole or in part) by logical replication. Found and fixed byPetru-Florin Mihancea, per bug #14208.Report: <20160622144830.5791.22512@wrigleys.postgresql.org>
1 parent3154e16 commitf8c5855

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -960,7 +960,7 @@ ReorderBufferIterTXNInit(ReorderBuffer *rb, ReorderBufferTXN *txn)
960960
{
961961
ReorderBufferChange*cur_change;
962962

963-
if (txn->nentries!=txn->nentries_mem)
963+
if (cur_txn->nentries!=cur_txn->nentries_mem)
964964
ReorderBufferRestoreChanges(rb,cur_txn,
965965
&state->entries[off].fd,
966966
&state->entries[off].segno);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp