[Mono-bugs] [Bug 58163][Maj] New - Null values in Postgres DB don't evaluate to null

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 6 May 2004 20:54:39 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by agillesp@vt.edu.

http://bugzilla.ximian.com/show_bug.cgi?id=58163

--- shadow/58163	2004-05-06 20:54:38.000000000 -0400
+++ shadow/58163.tmp.20180	2004-05-06 20:54:39.000000000 -0400
@@ -0,0 +1,38 @@
+Bug#: 58163
+Product: Mono: Runtime
+Version: unspecified
+OS: Debian Woody
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: agillesp@vt.edu               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Null values in Postgres DB don't evaluate to null
+
+Description of Problem:
+A null value in a PostgreSQL record doesn't evaluate to null, though this
+does work on Windows.  I'm not sure if it's a Mono or a Npgsql bug.
+
+Steps to reproduce the problem:
+1. Create a record in a PostgreSQL table that has a null value.
+2. Query and get an IDataRecord.
+3. Do "if (record["null_val_fld"] != null)" <- this returns true.
+
+Actual Results:
+Value != null
+
+Expected Results:
+Value == null
+
+How often does this happen? 
+Always.
+
+Additional Information:
+This works as expected on Windows.