Don't propagate a null subtransaction snapshot up to parent transaction.
This oversight could cause logical decoding to fail to decode an outer
transaction containing changes, if a subtransaction had an XID but no
actual changes. Per bug #14279 from Marko Tiikkaja. Patch by Marko
based on analysis by Andrew Gierth.
Discussion: <20160804191757.1430.39011@wrigleys.postgresql.org>
Branch
------
REL9_4_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/c63588feb73f993ec596cb3b139b06e8923bea04
Modified Files
--------------
contrib/test_decoding/expected/xact.out | 24 +++++++++++++++++++++++-
contrib/test_decoding/sql/xact.sql | 13 ++++++++++++-
src/backend/replication/logical/reorderbuffer.c | 9 +++++----
3 files changed, 40 insertions(+), 6 deletions(-)