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

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix thinko in logical decoding of commit-prepared records.
Date: 2014-05-16 07:54:51
Message-ID: E1WlCyh-00053X-IY@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2014-05-16 08:35:23 pgsql: Fix test_decoding test case's check that slot has been dropped.
Previous Message Heikki Linnakangas 2014-05-16 07:23:22 pgsql: Open output file before sleeping in pg_recvlogical.