Re: Preserve conflict log table during upgrade

From: vignesh C <vignesh21(at)gmail(dot)com>
To: Dilip Kumar <dilipbalaut(at)gmail(dot)com>
Cc: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Preserve conflict log table during upgrade
Date: 2026-12-01 11:03:53
Message-ID: CALDaNm2Gpd_+COsVqF0HASGz+3Cqhjwmcex2SYSpsVVoeS2iFA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, 1 Dec 2026 at 09:54, Dilip Kumar <dilipbalaut(at)gmail(dot)com> wrote:
>
> 2. The note in v2's documentation was removed in v3; is this intentional?
>
> +++ b/doc/src/sgml/logical-replication.sgml
> @@ -3159,7 +3159,11 @@ CONTEXT: processing remote data for
> replication origin "pg_16395" during "INSER
>
> <para>
> <application>pg_upgrade</application> also preserves the OID of every
> - subscription.
> + subscription. If
> + <link linkend="sql-createsubscription-params-with-conflict-log-destination"><literal>conflict_log_destination</literal></link>
> + is set to <literal>table</literal> or <literal>all</literal>, the
> subscription's
> + <link linkend="logical-replication-conflict-table-based-logging">conflict
> log table</link>
> + is preserved as well.
> </para>

This was intentionally removed as preserving subscription OIDs is an
internal implementation detail, the users do not need to be aware of
it or take any action based on it.

The other comment was fixed in the v4 version patch attached at [1].
[1] - https://www.postgresql.org/message-id/CALDaNm38Ek7KZNBH69-B8bxn5Yf9ukVejygcZE80cZueWSDUFQ%40mail.gmail.com

Regards,
Vignesh

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Dipak Dudhabhate 2026-12-01 11:39:26 Undetected deadlock in logical decoding of composite-type columns with synchronous replication
Previous Message vignesh C 2026-12-01 11:02:00 Re: Preserve conflict log table during upgrade