Fix typo in ReorderBufferIterTXNInit().

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

Commit: 8caf9fe62544b351d4f6219bf416f5ce08ef3c21
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2016-06-30T16:37:02Z
Releases: 9.5.4
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