Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group