> adhoc=# select id,postaladdressid from users where postaladdressid=null;
Given the SQL definition of NULL, = NULL must be false.
Use postaladdressid IS NULL to do what you want.
--
Rod Taylor <rbt(at)rbt(dot)ca>
PGP Key: http://www.rbt.ca/rbtpub.asc