Re: [HACKERS] 'a' == 'a ' (Was: RE: [pgsql-advocacy]

From: Tino Wildenhain <tino(at)wildenhain(dot)de>
To: "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>
Cc: Dann Corbit <DCorbit(at)connx(dot)com>, Richard_D_Levine(at)raytheon(dot)com, pgsql-hackers(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org
Subject: Re: [HACKERS] 'a' == 'a ' (Was: RE: [pgsql-advocacy]
Date: 2005-10-20 06:17:56
Message-ID: 1129789076.18052.134.camel@Andrea.peacock.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Am Mittwoch, den 19.10.2005, 22:04 +0200 schrieb Tino Wildenhain:
> Am Mittwoch, den 19.10.2005, 16:29 -0300 schrieb Marc G. Fournier:
> > I'm CC'ng this over to -hackers ... Tom? Comments?
> >
> ...

> > >> Then we are broken too :)
> > >>
> > >> # select 'a ' = 'a ';
> > >> ?column?
> > >> ----------
> > >> f
> > >> (1 row)
>
>
> experiment=# SELECT 'a '::char = 'a '::char;
> ?column?
> ----------
> t
>
Sorry, copied wrong line :)

experiment=# SELECT 'a '::char(10) = 'a '::char(10);
?column?
----------
t

and:

SELECT '|' || 'foo '::char(10) || '|';
?column?
----------
|foo|

vs.

SELECT '|' || 'foo ' || '|';
?column?
----------
|foo |

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tino Wildenhain 2005-10-20 06:22:19 Re: Reverse engineering SW
Previous Message Greg Stark 2005-10-20 06:17:13 Re: [HACKERS] 'a' == 'a '

Browse pgsql-hackers by date

  From Date Subject
Next Message Varun Shingal 2005-10-20 07:46:00 changing create table
Previous Message Greg Stark 2005-10-20 06:17:13 Re: [HACKERS] 'a' == 'a '