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
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/bcbecbce2fde3c6dfa9080db11663877808a007d
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(-)