Re: [pgsql-advocacy] Oracle buys Innobase

From: Doug Quale <quale1(at)charter(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: [pgsql-advocacy] Oracle buys Innobase
Date: 2005-10-19 20:10:15
Message-ID: 87mzl5z2s8.fsf@charter.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-advocacy pgsql-general

"Marc G. Fournier" <scrappy(at)postgresql(dot)org> writes:

> On Wed, 19 Oct 2005, Richard_D_Levine(at)raytheon(dot)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.

In response to

Browse pgsql-advocacy by date

  From Date Subject
Next Message Chris Travers 2005-10-19 20:59:50 Re: Oracle buys Innobase
Previous Message Terry Fielder 2005-10-19 19:37:09 Re: [pgsql-advocacy] Oracle buys Innobase

Browse pgsql-general by date

  From Date Subject
Next Message Dann Corbit 2005-10-19 20:16:23 Re: 'a' == 'a ' (Was: RE: [pgsql-advocacy] Oracle buysInnobase)
Previous Message Ledina Hido 2005-10-19 20:05:08 Re: Reverse engineering SW