Re: bug in string comparison - Mailing list pgsql-bugs

From Kopljan Michael
Subject Re: bug in string comparison
Date
Msg-id 003801cab8a3$6f902c60$4eb08520$@net
Whole thread Raw
In response to Re: bug in string comparison  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
Yes, Tom, that is problem! Thanks a lot!



Michael Kopljan, Main developer
Development sector
Info Technologies DOO
Narodnih Heroja 7
11000 Beograd, Srbija
Tel: +381 (0) 62 270 834
http://www.navigator-info.com/

-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: Saturday, February 27, 2010 2:33 AM
To: kopljan@beotel.net
Cc: pgsql-bugs@postgresql.org
Subject: Re: [BUGS] bug in string comparison

"kopljan" <kopljan@beotel.net> writes:
> Description: bug in string comparison

What this sounds like is you are using two different locale settings
in the 8.2 and 8.4 installations.  Postgres' string comparisons follow
whatever the rules of the locale are.  Try "show lc_collate" to see
what the setting is.

In 8.2 the locale is determined at initdb time, but in 8.4 you can
set it when creating a database.

            regards, tom lane

__________ Information from ESET Smart Security, version of virus signature
database 4902 (20100228) __________

The message was checked by ESET Smart Security.

http://www.eset.com

pgsql-bugs by date:

Previous
From: Jeff Davis
Date:
Subject: Re: possible bug not in open items
Next
From: Tom Lane
Date:
Subject: Re: possible bug not in open items