Skip site navigation (1) Skip section navigation (2)

BUG #2309: Wrong string comparison

From: "Yury Don" <yura(at)vpcit(dot)ru>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #2309: Wrong string comparison
Date: 2006-03-09 14:00:53
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
The following bug has been logged online:

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

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;


pgsql-bugs by date

Next:From: MarceloDate: 2006-03-09 14:52:40
Subject: Suse Installations
Previous:From: Stefan MiefertDate: 2006-03-09 13:27:05
Subject: [postgres] Postgres auf Ubuntu installieren

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group