On 2009-08-18, W. Kinastowski <kinastow...@gmail.com> wrote:
> I need a functionality of "@>" array operator in 8.1 Pg server. i.ex.
> SELECT * FROM table WHERE array_col @> ARRAY ['xxx']  (works in 8.2, 
> error in 8.1)
> How to performe such a query ?  Is it possible ? Thanks for help.

 SELECT * FROM table WHERE 'xxx' = ANY( array_col )


-- 
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql

Reply via email to