Re: Finding a value in an array field - Mailing list pgsql-general

From Jeff Davis
Subject Re: Finding a value in an array field
Date
Msg-id 200210172108.24043.list-pgsql-general@empires.org
Whole thread Raw
In response to Finding a value in an array field  ("Roberto (SmartBit)" <roberto@smartbit.inf.br>)
List pgsql-general
I think you need to look at the functions in /contrib. I don't think you can
do it just in SQL.

Regards,
    Jeff Davis

On Thursday 17 October 2002 05:45 pm, Roberto (SmartBit) wrote:
> How can I know if a value is into an array field?
>
> something like:
>
>   SELECT field1, field2 FROM myTableName
>   WHERE 10 in myArrayField
>
> PS: I do NOT know then number of array elements!
>
> tia
>
> Roberto de Amorim - +55 48 346-2243
> Software engineer at SmartBit Software
> Delphi and Interbase consultant
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Query performance with small data base
Next
From: pginfo
Date:
Subject: Re: Query performance with small data base