RE: Proposal: Conflict log history table for Logical Replication

From: "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>
To: 'Zhijie Hou' <houzhijie22(at)gmail(dot)com>, Peter Smith <smithpb2250(at)gmail(dot)com>
Cc: vignesh C <vignesh21(at)gmail(dot)com>, Nisha Moond <nisha(dot)moond412(at)gmail(dot)com>, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>, shveta malik <shveta(dot)malik(at)gmail(dot)com>, shihao zhong <zhong950419(at)gmail(dot)com>, Dilip Kumar <dilipbalaut(at)gmail(dot)com>, saurabh singh <saurabh(dot)singh214(at)gmail(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, shveta malik <shvetamalik(at)gmail(dot)com>
Subject: RE: Proposal: Conflict log history table for Logical Replication
Date: 2026-11-26 08:12:24
Message-ID: OS7PR01MB183174B628CE9DFCCEC5BBF7DF5422@OS7PR01MB18317.jpnprd01.prod.outlook.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

> 3.
> proname => 'binary_upgrade_set_next_attribute_versions', provolatile
> => 'v',
> proparallel => 'u', prorettype => 'void', proargtypes => '_pg_lsn',
> prosrc => 'binary_upgrade_set_next_attribute_versions' },
> +{ oid => '8407', descr => 'for use by pg_upgrade',
> + proname => 'binary_upgrade_set_next_pg_subscription_oid', provolatile
> => 'v',
> + proparallel => 'r', prorettype => 'void', proargtypes => 'oid',
> + prosrc => 'binary_upgrade_set_next_pg_subscription_oid' },
>
> I think we'd better set proparallel = 'u' to be consistent with other
> binary_upgrade functions.

+1. FYI, while hacking the pg_upgrade origin support, we met a CI failure because
planner chose the parallel execution of the binary-upgrade function and got
"cannot assign transaction IDs during a parallel operation" error. At that time
only the 0002 patch (preserving origin) was fixed but 0001 (preserving subscription id)
seemed to be retained.

Note: I could not access to the CI result because cirrus-ci has already been
closed.

[1]: https://www.postgresql.org/message-id/CAFPTHDbBiTfjYkQwYTNA2a4LRp8Sp7_zB59fmV0R7977ztxgmg%40mail.gmail.com

Best regards,
Hayato Kuroda
FUJITSU LIMITED

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alexandra Wang 2026-11-26 08:37:51 Re: Is there value in having optimizer stats for joins/foreignkeys?
Previous Message Heikki Linnakangas 2026-11-26 08:06:51 Re: Bitwise OR instead of logical one in test_aio.c