Re: GetNewOidWithIndex() can reuse a TOAST value ID while its chunks are still in the heap

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: xnervwang(at)gmail(dot)com
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org, tgl(at)sss(dot)pgh(dot)pa(dot)us, rahilasyed90(at)gmail(dot)com, andres(at)anarazel(dot)de
Subject: Re: GetNewOidWithIndex() can reuse a TOAST value ID while its chunks are still in the heap
Date: 2026-12-01 06:22:00
Message-ID: aw5niJoHHDTbWcFL@paquier.xyz
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Nov 30, 2026 at 04:14:35PM +0900, xnervwang(at)gmail(dot)com wrote:
> The attached v2 patch is rebased on current master (03dd453a67c). The
> fix itself is unchanged from v1. The new test fails without the fix;
> with it, the test and check-world pass.

That looks sensible here. Let's wait for a few days first, in case
somebody wishes to comment on this matter...
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Previous Message Henson Choi 2026-12-01 06:05:03 Speed up tuplestore_seek() by starting from the nearest known position