Re: Bug #638: Buggy select statment with numeric

From: Thomas Lockhart <thomas(at)fourpalms(dot)org>
To: mailing-list(at)urbanet(dot)ch, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Bug #638: Buggy select statment with numeric
Date: 2002-04-22 14:19:25
Message-ID: 3CC41BED.B76232E@fourpalms.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

> A select statement with a where clause on a numeric column tested
> for equality against null always return empty result.

This is correct behavior per SQL9x standards. NULL is *not* a value, but
represents the absense of information so tests FALSE in comparisons of
any kind.

hth

- Thomas

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Stephan Szabo 2002-04-22 14:29:11 Re: Bug #638: Buggy select statment with numeric
Previous Message pgsql-bugs 2002-04-22 12:28:02 Bug #639: JDBC interface, ResultSet.getObject on with an array of char is crashing.