Re: "SELECT IN" Still Broken in 7.4b

From: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
To: Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com>
Cc: Rod Taylor <rbt(at)rbt(dot)ca>, Mike Winter <mike(dot)winter(at)frontlogic(dot)com>, pgsql-sql(at)postgresql(dot)org
Subject: Re: "SELECT IN" Still Broken in 7.4b
Date: 2003-08-21 07:38:41
Message-ID: Pine.GSO.4.56.0308211137460.28800@ra.sai.msu.su
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-sql

On Wed, 20 Aug 2003, Stephan Szabo wrote:

>
> On Wed, 20 Aug 2003, Rod Taylor wrote:
>
> > > Thanks, Stephan. I was really hoping that the IN(valuelist) was going to
> > > be changed at the same time, because it really is unusable for anything
> > > over a couple of thousand values.
> >
> > Changed to do what?
>
> One possibility might be to act as if the valuelist was a table and do the
> IN as if it were that way, rather than treating it as a set of ORs. That
> would be basically like doing the temporary table solution, but without
> requiring the user to do it.
>

for integers we use contrib/intarray as a workaround. In principle,
it's possible to extend intarray to general array.

>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings
>

Regards,
Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Shridhar Daithankar 2003-08-21 07:39:25 Re: Can't find thread on Linux memory overcommit
Previous Message Stephan Szabo 2003-08-21 06:37:22 Re: postgresql 7.3.2 bug on date '1901-12-13' and '1901-12

Browse pgsql-sql by date

  From Date Subject
Next Message Dani Oderbolz 2003-08-21 10:05:14 Re: "SELECT IN" Still Broken in 7.4b
Previous Message Stephan Szabo 2003-08-21 06:11:10 Re: URGENT : free result (libpq++ API)