X-Original-To: pgsql-bugs-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 5F70E9DD652 for ; Sun, 4 Dec 2005 20:24:17 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 00109-01 for ; Sun, 4 Dec 2005 20:24:11 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 20D229DD5E9 for ; Sun, 4 Dec 2005 20:24:12 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id jB50OEPk011043; Sun, 4 Dec 2005 19:24:14 -0500 (EST) To: Joost Kraaijeveld cc: pgsql-bugs@postgresql.org Subject: Re: Is this a bug???? In-reply-to: <1133735370.5560.15.camel@Panoramix> References: <1133735370.5560.15.camel@Panoramix> Comments: In-reply-to Joost Kraaijeveld message dated "Sun, 04 Dec 2005 23:29:30 +0100" Date: Sun, 04 Dec 2005 19:24:14 -0500 Message-ID: <11042.1133742254@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.001 required=5 tests=[AWL=0.001] X-Spam-Score: 0.001 X-Spam-Level: X-Archive-Number: 200512/56 X-Sequence-Number: 13752 Joost Kraaijeveld writes: > If I run this query: > select objectid,defaulttermsofpayment from prototype.customers > where > objectid = '336A0451-D9E8-7C11-6333-C17DF18E8979' > I get the following answer: > "336A0451-D9E8-7C11-6333-C17DF18E8979";"null" > If I run this query I get *no* results: > select objectid,defaulttermsofpayment from prototype.customers > where > defaulttermsofpayment is null > Is this a bug? Not unless you can prove that the defaulttermsofpayment field is actually null, and not the string "null" as it appears to be. (What client-side software are you using? psql wouldn't display the row like that, nor anything else I'm familiar with.) regards, tom lane