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

From Tom Lane
Subject Re: BUG #2309: Wrong string comparison
Date
Msg-id 29095.1141951697@sss.pgh.pa.us
Whole thread Raw
In response to BUG #2309: Wrong string comparison  ("Yury Don" <yura@vpcit.ru>)
List pgsql-bugs
"Yury Don" <yura@vpcit.ru> writes:
> Looks like string comparison operators ignore spaces isnside of string.

It's not wrong, it's just following the rules of the locale.  You should
initdb the database with LANG=C if you want plain ASCII sorting.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Stefan Miefert
Date:
Subject: [postgres] Postgres auf Ubuntu installieren
Next
From: Tom Lane
Date:
Subject: Re: BUG #2310: "ALTER TYPE name OWNER TO new_owner" not working