Re: slow IN() clause for many cases - Mailing list pgsql-hackers

From Tom Lane
Subject Re: slow IN() clause for many cases
Date
Msg-id 8063.1129331357@sss.pgh.pa.us
Whole thread Raw
In response to Re: slow IN() clause for many cases  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: slow IN() clause for many cases
Re: slow IN() clause for many cases
Re: slow IN() clause for many cases
List pgsql-hackers
I wrote:
> I'm thinking that IN should be
> converted to a ScalarArrayOpExpr, ie

>     x = ANY (ARRAY[val1,val2,val3,val4,...])

Actually, there is one little thing in the way of doing this: it'll
fail if any of the IN-list elements are NULL, because we have not got
support for arrays with null elements.  So we'd have to fix that first.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: slow IN() clause for many cases
Next
From: David Fetter
Date:
Subject: Re: slow IN() clause for many cases