pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add test for row-locking and multixids with prepared transaction
Date: Wed, 04 Mar 2026 09:42:46 +0000
Message-ID: <E1vxikg-002KGY-1P@gemulon.postgresql.org> (raw)

Add test for row-locking and multixids with prepared transactions

This is a repro for the issue fixed in commit ccae90abdb. Backpatch to
v17 like that commit, although that's a little arbitrary as this test
would work on older versions too.

Author: Sami Imseih <samimseih@gmail.com>
Discussion: https://www.postgresql.org/message-id/CAA5RZ0twq5bNMq0r0QNoopQnAEv+J3qJNCrLs7HVqTEntBhJ=g@mail.gmail...
Backpatch-through: 17

Branch
------
REL_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/969576dab47b2998a259b388c8212aee3e2cdeea

Modified Files
--------------
src/test/regress/expected/prepared_xacts.out | 30 ++++++++++++++++++++++++++++
src/test/regress/sql/prepared_xacts.sql      | 25 +++++++++++++++++++++++
2 files changed, 55 insertions(+)



view thread (3+ messages)  latest in thread

Message-ID: <E1vxikg-002KGY-1P@gemulon.postgresql.org>
Permalink:  ../E1vxikg-002KGY-1P@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1vxikg-002KGY-1P@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: heikki.linnakangas@iki.fi, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Add test for row-locking and multixids with prepared transaction
  In-Reply-To: <E1vxikg-002KGY-1P@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox