Re: Arrays advanced usage - Mailing list pgsql-general

From Stephan Szabo
Subject Re: Arrays advanced usage
Date
Msg-id Pine.BSF.4.21.0101221259480.15835-100000@megazone23.bigpanda.com
Whole thread Raw
In response to Arrays advanced usage  (Florent Guillaume <florent.guillaume@mail.com>)
List pgsql-general
On Fri, 19 Jan 2001, Florent Guillaume wrote:

> I just discoverred arrays, and I'm wondering if there's a way to do,
> given table t1 (v int4, a int4[]), a query that does in effect :
> "select v, i from t1 where EXISTS i SUCHTHAT a[i] = 45;"
>
> I know I can do it with a separate table and a join, but this would
> be much nicer.

Check out the code in contrib/array which provides extra
functions/operators for various common array types.


pgsql-general by date:

Previous
From: Kyle
Date:
Subject: optimizing "between" queries
Next
From: "Martin A. Marques"
Date:
Subject: Re: is PG able to handle a >500 GB Database?