On Fri, Jan 8, 2010 at 11:06 AM, Rui Carvalho <rui.hmcarvalho@xxxxxxxxx> wrote: > Hi > > well it's pretty simple > > if you want to see if there are elements in common then instead of "any" use > "&&" > if you want to see if they are equal just use " = " that will five you true > or false you also have the option of expanding the array into a set and using standard query techniques. w/8.4, you can use the built in unnest()...for earlier versions you have to create it yourself (trivially done): http://archives.postgresql.org/pgsql-patches/2008-03/msg00308.php merlin -- Sent via pgsql-performance mailing list (pgsql-performance@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance