"David Griffiths" <dgriffiths(at)boats(dot)com> writes:
> Shouldn't you be using,
> SELECT * FROM foo WHERE bar_date IS NULL?
Yup.
> "= null" got phased out, I believe.
Or at least disabled by default. See
http://www.ca.postgresql.org/users-lounge/docs/7.2/postgres/functions-comparison.html
regards, tom lane