[HACKERS] Question about tuplestore clients

2007-03-20 Thread Gregory Stark
I tried to make tuplestore free up tuples that would no longer be needed because they're older than the mark and neither random access nor rewind capability was needed. This is important for three different purposes: optimizing merge join to not need to materialize the entire data set, recursive

Re: [HACKERS] Question about tuplestore clients

2007-03-20 Thread Tom Lane
Gregory Stark [EMAIL PROTECTED] writes: However I've run into something I didn't expect. It seems merge joins keep a reference to a tuple *after* they set the mark beyond it. I'm trying to figure out why this is necessary but I haven't absorbed all of nodeMergejoin yet. I think at the instant