Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TqpLb-0006JZ-4b for pgsql-bugs@arkaria.postgresql.org; Thu, 03 Jan 2013 18:16:55 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TqpLZ-0004Jr-Ge for pgsql-bugs@arkaria.postgresql.org; Thu, 03 Jan 2013 18:16:53 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TqgmG-000818-Cr for pgsql-bugs@postgresql.org; Thu, 03 Jan 2013 09:07:52 +0000 Received: from mahout.postgresql.org ([98.129.198.123]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TqgmF-0007bm-2H for pgsql-bugs@postgresql.org; Thu, 03 Jan 2013 09:07:52 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TqgmE-0001ku-0u for pgsql-bugs@postgresql.org; Thu, 03 Jan 2013 09:07:50 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1TqgmD-0007Fs-JZ for pgsql-bugs@postgresql.org; Thu, 03 Jan 2013 09:07:49 +0000 Date: Thu, 03 Jan 2013 09:07:49 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #7783: lower & upper function incorrect work To: pgsql-bugs@postgresql.org From: alex.shniperson@gmail.com X-Pg-Spam-Score: -1.0 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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:=20=20=20=20=20=20=20=20 Hi. I have problem at my project, try to do simple steps: 1) create DataBase with ENCODING =3D 'UTF8' LC_COLLATE =3D 'C' LC_CTYPE =3D '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, '=D0=97=D0=B0=D0=BB=D0=BE=D0=B3= '); 4) try to select data with upper & lower functions with 'like' operator=20 select *, lower(name), upper(name) from testtable where lower(name) like '%=D0=B7=D0=B0=D0=BB=D0=BE=D0=B3%' 5) as result you must see nothing, just fields without data fix it please, thanks. --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs