pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Dmitry Ryabov <dmitry-ryabov@mail.ru>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6230: strange changes in behavior of string functions
Date: Tue, 27 Sep 2011 23:30:42 -0400
Message-ID: <28423.1317180642@sss.pgh.pa.us> (raw)
In-Reply-To: <201109280218.p8S2IVXh084294@wwwmaster.postgresql.org>
References: <201109280218.p8S2IVXh084294@wwwmaster.postgresql.org>

"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



view thread (2+ messages)

Message-ID: <28423.1317180642@sss.pgh.pa.us>
Permalink:  ../28423.1317180642@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/28423.1317180642@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, dmitry-ryabov@mail.ru
  Subject: Re: BUG #6230: strange changes in behavior of string functions
  In-Reply-To: <28423.1317180642@sss.pgh.pa.us>
  References: <201109280218.p8S2IVXh084294@wwwmaster.postgresql.org> <28423.1317180642@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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