On Wed, Apr 2, 2025 at 12:10 PM Tom Lane <t...@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