Re: [BUGS] Bug #638: Buggy select statment with numeric

2002-04-22 Thread Thomas Lockhart
> 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

Re: [BUGS] Bug #638: Buggy select statment with numeric

2002-04-22 Thread Tom Lane
[EMAIL PROTECTED] writes: >> select * from t where n ISNULL; > n | s > ---+-- >| asdasdasd >| > (2 rows) >> select * from t where n=NULL; > n | s > ---+--- > (0 rows) This is not a bug. However, you can make 7.2 work in that braindead Microsoft-compatible

Re: [BUGS] Bug #638: Buggy select statment with numeric

2002-04-22 Thread Stephan Szabo
On Mon, 22 Apr 2002 [EMAIL PROTECTED] wrote: > Florian Steffen ([EMAIL PROTECTED]) reports a bug with a severity of 3 > The lower the number the more severe it is. > > Short Description > Buggy select statment with numeric > > Long Description > A select statement with a where clause on a numeri

[BUGS] Bug #638: Buggy select statment with numeric

2002-04-22 Thread pgsql-bugs
Florian Steffen ([EMAIL PROTECTED]) reports a bug with a severity of 3 The lower the number the more severe it is. Short Description Buggy select statment with numeric Long Description A select statement with a where clause on a numeric column tested for equality against null always return empt