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

From Heikki Linnakangas
Subject pgsql: Fix thinko in logical decoding of commit-prepared records.
Date
Msg-id E1WlCyh-00053X-IY@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Open output file before sleeping in pg_recvlogical.
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: Fix test_decoding test case's check that slot has been dropped.