Re: Bug in logical decoding with DDL and subtransactions

From: "alvherre(at)kurilemu(dot)de" <alvherre(at)kurilemu(dot)de>
To: Manu <manuelreyesbravo(at)gmail(dot)com>
Cc: Ayush Tiwari <ayushtiwari(dot)slg01(at)gmail(dot)com>, Bingshuai Li <lucian1412(at)outlook(dot)com>, Zhijie Hou <houzhijie22(at)gmail(dot)com>, "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>, Michael Paquier <michael(at)paquier(dot)xyz>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alexander Lakhin <exclusion(at)gmail(dot)com>, Mark Dilger <mark(dot)dilger(at)enterprisedb(dot)com>, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>, Andrey Rachitskiy <pl0h0yp1(at)gmail(dot)com>, "a(dot)kozhemyakin(at)postgrespro(dot)ru" <a(dot)kozhemyakin(at)postgrespro(dot)ru>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Bug in logical decoding with DDL and subtransactions
Date: 2026-11-23 10:43:52
Message-ID: awQYfuikE_OfP9Yi@alvherre.pgsql
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2026-Oct-17, Manu wrote:

> - Saving: it grows as (tuplecid list length) x (DML-only aborts). For short
> lists it is in the noise -- around 0.1 ms at 1k tuplecids and 100 aborts.
> It becomes real higher up: 10k/1k is 19 ms -> 3.6 ms, 50k/10k is
> 1067 ms -> 18 ms, and 100k/10k is 5213 ms -> 36 ms.

Hmm, so I'm inclined to do this in master only, as I don't think
tuplecid lists are very large generally.

--
Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/
"Find a bug in a program, and fix it, and the program will work today.
Show the program how to find and fix a bug, and the program
will work forever" (Oliver Silfridge)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Álvaro Herrera 2026-11-23 10:46:05 Re: MERGE fails to reject source references in NOT MATCHED BY SOURCE actions
Previous Message Yash Jadhav 2026-11-23 10:43:14 Re: Extensible sync handler registration (register_sync_handler)