Re: BTScanOpaqueData size slows down tests - Mailing list pgsql-hackers

From Peter Geoghegan
Subject Re: BTScanOpaqueData size slows down tests
Date
Msg-id CAH2-WznHQbQJ7rfXHv_d2K3K+r4qrZxPxn64AK4cGu1oZzQQxQ@mail.gmail.com
Whole thread Raw
In response to Re: BTScanOpaqueData size slows down tests  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Wed, Apr 2, 2025 at 12:10 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> I could get behind the idea of just having enough space in
> BTScanOpaqueData for about ten items, and dynamically allocating
> a MaxTIDsPerBTreePage-sized array only if we overrun that.
> And not allocate any space for mark/restore unless a mark is
> done.

That's exactly what I had in mind.

--
Peter Geoghegan



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: BTScanOpaqueData size slows down tests
Next
From: Matthias van de Meent
Date:
Subject: Re: Incorrect result of bitmap heap scan.