David Rowley <dgrowleyml@gmail.com> writes:
> On Wed, 21 Jul 2021 at 11:25, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Uh .... it's not the "exact same bitmap each time", because the selected
>> rows vary depending on the value of g.i.
> I imagined Jeff was meaning the bitmap from the scan of foo_x_idx, not
> the combined ANDed bitmap from both indexes.
To re-use that, you'd need a way to prevent the upper node from
destructively modifying the tidbitmap.
regards, tom lane