Fix typo in ReorderBufferIterTXNInit().
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 30 Jun 2016 16:37:02 +0000 (12:37 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 30 Jun 2016 16:37:02 +0000 (12:37 -0400)
commit1843d88e0d3ffb1f2f1c4457e42f25d3bf1c8505
treea0241b65c92d03383d4e8ad5dd861455e322509b
parentdc9e03bf474a42c46cab1ec02456bcd43be45c58
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>
src/backend/replication/logical/reorderbuffer.c