Lucazeo <lucazeo@xxxxxxxxxxxx> writes: > It seems that ("inDate" IS NULL) never returns true, even when the > parameter is null... Exceedingly unlikely. > What's wrong? You have not provided enough context for anyone to guess. regards, tom lane -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general