On Mon, Jun 9, 2025 at 8:48 AM Mihail Nikalayeu <mihailnikala...@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