Re: 'a' == 'a ' (Was: RE: [pgsql-advocacy] [GENERAL] - Mailing list pgsql-hackers

From Kevin Grittner
Subject Re: 'a' == 'a ' (Was: RE: [pgsql-advocacy] [GENERAL]
Date
Msg-id 43576921020000250000015A@gwmta.wicourts.gov
Whole thread Raw
List pgsql-hackers
Dann Corbit wrote:
> Try this query in Oracle, SQL*Server, DB/2, Informix, etc.:
>
> connxdatasync=# select 1 where cast('a' as varchar(30)) = cast('a ' as
> varchar(30));
>  ?column?
> ----------
> (0 rows)

For what it's worth, on Sybase ASE I get:


-----------
1
(1 row affected)



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: 8.04 and RedHat/CentOS init script issue and sleep
Next
From: "沈一枫"
Date:
Subject: what is the hash function ' s main idea in tsearch2?