pgsql: Log new catalog xmin candidate in LogicalIncreaseXminForSlot().

From: Amit Kapila <akapila(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Log new catalog xmin candidate in LogicalIncreaseXminForSlot().
Date: 2021-09-07 02:47:25
Message-ID: E1mNR8v-0007ef-Kz@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Fujii Masao 2021-09-07 03:28:56 pgsql: postgres_fdw: Allow application_name of remote connection to be
Previous Message Tom Lane 2021-09-06 20:15:16 pgsql: Further fix psql query-cancel test.