pgsql: Fix typo in ReorderBufferIterTXNInit().

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix typo in ReorderBufferIterTXNInit().
Date: 2016-06-30 16:37:21
Message-ID: E1bIext-0005A1-Ax@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix typo in ReorderBufferIterTXNInit().

This looks like it would cause changes from subtransactions to be missed
by the iterator being constructed, if those changes had been spilled to
disk previously. This implies that large subtransactions might be lost
(in whole or in part) by logical replication. Found and fixed by
Petru-Florin Mihancea, per bug #14208.

Report: <20160622144830(dot)5791(dot)22512(at)wrigleys(dot)postgresql(dot)org>

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/8caf9fe62544b351d4f6219bf416f5ce08ef3c21

Modified Files
--------------
src/backend/replication/logical/reorderbuffer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2016-06-30 22:46:39 pgsql: Fix several mistakes around parallel workers and client_encoding
Previous Message Tom Lane 2016-06-29 23:07:24 pgsql: Dodge compiler bug in Visual Studio 2013.