pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Amit Kapila <akapila@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Update the docs and comments for decoding of prepared xacts.
Date: Mon, 01 Mar 2021 02:46:33 +0000
Message-ID: <E1lGYZt-00088y-93@gemulon.postgresql.org> (raw)

Update the docs and comments for decoding of prepared xacts.

Commit a271a1b50e introduced decoding at prepare time in ReorderBuffer.
This can lead to deadlock for out-of-core logical replication solutions
that uses this feature to build distributed 2PC in case such transactions
lock [user] catalog tables exclusively. They need to inform users to not
have locks on catalog tables (via explicit LOCK command) in such
transactions.

Reported-by: Andres Freund
Discussion: https://postgr.es/m/20210222222847.tpnb6eg3yiykzpky@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b4e3dc7fd420cdc2287f30a638c4affd071f01b2

Modified Files
--------------
doc/src/sgml/logicaldecoding.sgml        | 24 ++++++++++++++++++++++++
src/backend/replication/logical/decode.c | 14 ++++++++++++++
2 files changed, 38 insertions(+)



Message-ID: <E1lGYZt-00088y-93@gemulon.postgresql.org>
Permalink:  ../E1lGYZt-00088y-93@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1lGYZt-00088y-93@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: akapila@postgresql.org
  Subject: Re: pgsql: Update the docs and comments for decoding of prepared xacts.
  In-Reply-To: <E1lGYZt-00088y-93@gemulon.postgresql.org>
  References: <E1lGYZt-00088y-93@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