pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: alex.shniperson@gmail.com
To: pgsql-bugs@postgresql.org
Subject: BUG #7783: lower & upper function incorrect work
Date: Thu, 03 Jan 2013 09:07:49 +0000
Message-ID: <E1TqgmD-0007Fs-JZ@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

The following bug has been logged on the website:

Bug reference:      7783
Logged by:          Alexander Shniperson
Email address:      alex.shniperson@gmail.com
PostgreSQL version: 9.1.7
Operating system:   osx lion 10.7.5
Description:        

Hi.

I have problem at my project, try to do simple steps:
1) create DataBase with
ENCODING = 'UTF8'
LC_COLLATE = 'C'
LC_CTYPE = 'C'

2) create new table at just created database

CREATE TABLE testtable
(
  id serial NOT NULL,
  name character varying(50) NOT NULL,
  CONSTRAINT testtable_pkey PRIMARY KEY (id )
)

3) insert one simple record with Russian word

INSERT INTO testtable (id, name) VALUES (1, 'Залог');

4) try to select data with upper & lower functions with 'like' operator 

select *, lower(name), upper(name) from testtable where lower(name) like
'%залог%'

5) as result you must see nothing, just fields without data

fix it please, thanks.



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (4+ messages)  latest in thread

Message-ID: <E1TqgmD-0007Fs-JZ@wrigleys.postgresql.org>
Permalink:  ../E1TqgmD-0007Fs-JZ@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/E1TqgmD-0007Fs-JZ@wrigleys.postgresql.org

 · 

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: alex.shniperson@gmail.com
  Subject: Re: BUG #7783: lower & upper function incorrect work
  In-Reply-To: <E1TqgmD-0007Fs-JZ@wrigleys.postgresql.org>
  References: <E1TqgmD-0007Fs-JZ@wrigleys.postgresql.org>

* 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