Re: problem with array query - Mailing list pgsql-general

From Tom Lane
Subject Re: problem with array query
Date
Msg-id 12779.1254104698@sss.pgh.pa.us
Whole thread Raw
In response to Re: problem with array query  (Grant Maxwell <grant.maxwell@maxan.com.au>)
List pgsql-general
Grant Maxwell <grant.maxwell@maxan.com.au> writes:
> What I'm trying to do is find every record where "my name" is not in
> the array.
> So I tried <> ANY and also <> ALL and both returned an empty row set.

Maybe you have some nulls in the arrays?  <> ALL works for me.

            regards, tom lane

pgsql-general by date:

Previous
From: Grant Maxwell
Date:
Subject: Re: problem with array query
Next
From: Nobuhiro Iwamatsu
Date:
Subject: Re: getting PostgreSQL to run on superH-based machines