Thread: pgsql: Fix thinko in logical decoding of commit-prepared records.

pgsql: Fix thinko in logical decoding of commit-prepared records.

From
Heikki Linnakangas
Date:
Fix thinko in logical decoding of commit-prepared records.

The decoding of prepared transaction commits accidentally used the XID of
the transaction performing the COMMIT PREPARED, not the XID of the prepared
transaction. Before bb38fb0d43c8d that lead to those transactions not being
decoded, afterwards to a assertion failure.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/03e2b1017c0d360cae0b4d0a8bf5d6924536c834

Modified Files
--------------
src/backend/replication/logical/decode.c |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)