pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #6230: strange changes in behavior of string functions
2+ messages / 2 participants
[nested] [flat]

* BUG #6230: strange changes in behavior of string functions
@ 2011-09-28 02:18 Dmitry Ryabov <dmitry-ryabov@mail.ru>
  2011-09-28 03:30 ` Re: BUG #6230: strange changes in behavior of string functions Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: Dmitry Ryabov @ 2011-09-28 02:18 UTC (permalink / raw)
  To: pgsql-bugs


The following bug has been logged online:

Bug reference:      6230
Logged by:          Dmitry Ryabov
Email address:      dmitry-ryabov@mail.ru
PostgreSQL version: 9.1
Operating system:   Windows x64
Description:        strange changes in behavior of string functions
Details: 

In the version 9.1 I was surprised to find that the function "upper" now is
not working as before. For example:

select upper ('SISTEM AYGıTLARı') = 'SISTEM AYGITLARI'

in postgresql 9.0 returns true, but in postgresql 9.1 - false. Such behavior
now occurs under the transformations of other national symbols. In the
release notes that I have not found mention of such changes. Question: is
the bug? Sorry for my bad English.



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #6230: strange changes in behavior of string functions
  2011-09-28 02:18 BUG #6230: strange changes in behavior of string functions Dmitry Ryabov <dmitry-ryabov@mail.ru>
@ 2011-09-28 03:30 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2011-09-28 03:30 UTC (permalink / raw)
  To: Dmitry Ryabov <dmitry-ryabov@mail.ru>; +Cc: pgsql-bugs

"Dmitry Ryabov" <dmitry-ryabov@mail.ru> writes:
> In the version 9.1 I was surprised to find that the function "upper" now is
> not working as before. For example:

> select upper ('SISTEM AYGıTLARı') = 'SISTEM AYGITLARI'

> in postgresql 9.0 returns true, but in postgresql 9.1 - false.

It sounds like you didn't use the same locale settings when creating
your 9.1 database.  Check LC_CTYPE and LC_COLLATE settings.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2011-09-28 03:30 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-09-28 02:18 BUG #6230: strange changes in behavior of string functions Dmitry Ryabov <dmitry-ryabov@mail.ru>
2011-09-28 03:30 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox