On Thu, 19 Sept 2024 at 13:49, Tatsuo Ishii <ishii(at)postgresql(dot)org> wrote:
>
> > That code could be modified to swap the tuplestores and do a
> > tuplestore_clear() instead of tuplestore_end() followed by
> > tuplestore_begin_heap().
> >
> Impressive result. I also ran your query with count 1000.
I've pushed that patch. That should now unblock you on the
nodeRecursiveunion.c telemetry.
David