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: Log new catalog xmin candidate in LogicalIncreaseXminForSlot().
Date: Tue, 07 Sep 2021 02:47:25 +0000
Message-ID: <E1mNR8v-0007ef-Kz@gemulon.postgresql.org> (raw)

Log new catalog xmin candidate in LogicalIncreaseXminForSlot().

Similar to LogicalIncreaseRestartDecodingForSlot() add a debug message to
LogicalIncreaseXminForSlot() reporting a new catalog_xmin candidate.

This just adds additional diagnostic information during logical decoding that
can aid debugging.

Author: Ashutosh Bapat
Reviewed-by: Masahiko Sawada, Amit Kapila
Discussion: https://postgr.es/m/CAExHW5usQWbiUz0hHOCu5twS1O9DvpcPojf6sor=8q--VUuMbA@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4c3478859b7359912d7e99fea702c56b1f53000c

Modified Files
--------------
src/backend/replication/logical/logical.c | 11 +++++++++++
1 file changed, 11 insertions(+)



Message-ID: <E1mNR8v-0007ef-Kz@gemulon.postgresql.org>
Permalink:  ../E1mNR8v-0007ef-Kz@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1mNR8v-0007ef-Kz@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: Log new catalog xmin candidate in LogicalIncreaseXminForSlot().
  In-Reply-To: <E1mNR8v-0007ef-Kz@gemulon.postgresql.org>
  References: <E1mNR8v-0007ef-Kz@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