Fix typo in ReorderBufferIterTXNInit().

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

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