Re: strange perf regression with data checksums - Mailing list pgsql-hackers

From Peter Geoghegan
Subject Re: strange perf regression with data checksums
Date
Msg-id CAH2-WzmX2DFus=XY5hvGPFq11gHLXL==qTQDaXbX=S7tKk0rvQ@mail.gmail.com
Whole thread Raw
In response to Re: strange perf regression with data checksums  (Mihail Nikalayeu <mihailnikalayeu@gmail.com>)
List pgsql-hackers
On Mon, Jun 9, 2025 at 8:48 AM Mihail Nikalayeu
<mihailnikalayeu@gmail.com> wrote:
> I was rebasing [0] and noticed dropPin is not initialized in
> btbeginscan, which seems to be suspicious for me.
> Is it intended?

That's pretty normal. We don't have access to the scan descriptor
within btbeginscan.

This is also why we do things like allocate so->currTuples within
btrescan. We don't yet know if the scan will be an index-only scan
when btbeginscan is called.

--
Peter Geoghegan



pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: strange perf regression with data checksums
Next
From: Sami Imseih
Date:
Subject: Re: queryId constant squashing does not support prepared statements