From: Doug Quale <quale1@charter.net>
To: pgsql-general@postgresql.org
Subject: Re: [pgsql-advocacy] Oracle buys Innobase
Date: Wed, 19 Oct 2005 15:10:15 -0500
Message-ID: <87mzl5z2s8.fsf@charter.net> (raw)
In-Reply-To: <20051019154026.X995@ganymede.hub.org>
References: <OF3BDAFBD0.6F8C7B4B-ON0525709F.0060A1B2-0525709F.006119C8@ftw.us.ray.com>
<20051019154026.X995@ganymede.hub.org>
"Marc G. Fournier" <scrappy@postgresql.org> writes:
> On Wed, 19 Oct 2005, Richard_D_Levine@raytheon.com wrote:
>
>> I was referring to trailing blanks, but did not explicitly say it,
>> though showed it in the examples. I am pretty sure that the SQL
>> standard says that trailing whitespace is insignificant in string
>> comparison.
>
> Then we are broken too :)
>
> # select 'a ' = 'a ';
> ?column?
> ----------
> f
> (1 row)
# select 'a'::char(8) = 'a '::char(8);
?column?
----------
t
(1 row)
Trailing blanks aren't significant in fixed-length strings, so the
question is whether Postgresql treats comparison of varchars right.
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-general@postgresql.org
Cc: quale1@charter.net
Subject: Re: [pgsql-advocacy] Oracle buys Innobase
In-Reply-To: <87mzl5z2s8.fsf@charter.net>
References: <OF3BDAFBD0.6F8C7B4B-ON0525709F.0060A1B2-0525709F.006119C8@ftw.us.ray.com> <20051019154026.X995@ganymede.hub.org> <87mzl5z2s8.fsf@charter.net>
* 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