Re: [SQL] "SELECT IN" Still Broken in 7.4b - Mailing list pgsql-hackers

From Joe Conway
Subject Re: [SQL] "SELECT IN" Still Broken in 7.4b
Date
Msg-id 3F45414A.6030301@joeconway.com
Whole thread Raw
In response to Re: [SQL] "SELECT IN" Still Broken in 7.4b  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [SQL] "SELECT IN" Still Broken in 7.4b
List pgsql-hackers
Tom Lane wrote:
> I'm toying with the notion of ripping out that logic and instead
> building an in-memory hashtable of already-returned TIDs.  This could
> theoretically run out of memory if the multiple indexscan returns enough
> tuples, but I think in practice that wouldn't happen because the planner
> wouldn't choose an indexscan when very large numbers of tuples are being
> selected.

I thought with your recent changes, you could use dynahash, which 
already spills to disk instead of consuming all memory?

Joe



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [SQL] "SELECT IN" Still Broken in 7.4b
Next
From: Tom Lane
Date:
Subject: Re: [SQL] "SELECT IN" Still Broken in 7.4b