From: Oleg Bartunov <oleg@sai.msu.su>
To: Stephan Szabo <sszabo@megazone.bigpanda.com>
Cc: Rod Taylor <rbt@rbt.ca>
Cc: Mike Winter <mike.winter@frontlogic.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: "SELECT IN" Still Broken in 7.4b
Date: Thu, 21 Aug 2003 11:38:41 +0400 (MSD)
Message-ID: <Pine.GSO.4.56.0308211137460.28800@ra.sai.msu.su> (raw)
In-Reply-To: <20030820103841.Q10580-100000@megazone.bigpanda.com>
References: <20030820103841.Q10580-100000@megazone.bigpanda.com>
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@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: oleg@sai.msu.su, sszabo@megazone.bigpanda.com, rbt@rbt.ca, mike.winter@frontlogic.com
Subject: Re: "SELECT IN" Still Broken in 7.4b
In-Reply-To: <Pine.GSO.4.56.0308211137460.28800@ra.sai.msu.su>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox