From: Tom Lane <tgl@sss.pgh.pa.us>
To: Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Is this a bug????
Date: Sun, 04 Dec 2005 19:24:14 -0500
Message-ID: <11042.1133742254@sss.pgh.pa.us> (raw)
In-Reply-To: <1133735370.5560.15.camel@Panoramix>
References: <1133735370.5560.15.camel@Panoramix>
Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, J.Kraaijeveld@Askesis.nl
Subject: Re: Is this a bug????
In-Reply-To: <11042.1133742254@sss.pgh.pa.us>
References: <1133735370.5560.15.camel@Panoramix> <11042.1133742254@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox