BUG #2309: Wrong string comparison - Mailing list pgsql-bugs

From Yury Don
Subject BUG #2309: Wrong string comparison
Date
Msg-id 20060309140053.ED78CF0B08@svr2.postgresql.org
Whole thread Raw
Responses Re: BUG #2309: Wrong string comparison
Re: BUG #2309: Wrong string comparison
List pgsql-bugs
The following bug has been logged online:

Bug reference:      2309
Logged by:          Yury Don
Email address:      yura@vpcit.ru
PostgreSQL version: 8.1.3
Operating system:   Linux (Debian)
Description:        Wrong string comparison
Details:

Looks like string comparison operators ignore spaces isnside of string.
Because of this sorting on text fields is wrong.

mdb=# select 'a z'::text>'ad'::text;
 ?column?
----------
 t

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #2307: Buckup and sequences in DEFAULT part
Next
From: "eKo1"
Date:
Subject: BUG #2310: "ALTER TYPE name OWNER TO new_owner" not working