Fix typo in ReorderBufferIterTXNInit().

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 1843d88e0d3ffb1f2f1c4457e42f25d3bf1c8505
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2016-06-30T16:37:02Z
Releases: 9.4.9
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.5791.22512@wrigleys.postgresql.org>

Files

PathChange+/−
src/backend/replication/logical/reorderbuffer.c modified +1 −1