Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VB7Zc-0006T9-7c for pgsql-bugs@arkaria.postgresql.org; Sun, 18 Aug 2013 18:19:32 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VB7Zb-0001CR-EQ for pgsql-bugs@arkaria.postgresql.org; Sun, 18 Aug 2013 18:19:31 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VB7ZZ-0001CH-Dh for pgsql-bugs@postgresql.org; Sun, 18 Aug 2013 18:19:29 +0000 Received: from nm20.bullet.mail.bf1.yahoo.com ([98.139.212.179]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VB7ZV-0002xZ-JV for pgsql-bugs@postgresql.org; Sun, 18 Aug 2013 18:19:28 +0000 Received: from [98.139.212.150] by nm20.bullet.mail.bf1.yahoo.com with NNFMP; 18 Aug 2013 18:19:24 -0000 Received: from [98.139.212.207] by tm7.bullet.mail.bf1.yahoo.com with NNFMP; 18 Aug 2013 18:19:24 -0000 Received: from [127.0.0.1] by omp1016.mail.bf1.yahoo.com with NNFMP; 18 Aug 2013 18:19:24 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 838601.62719.bm@omp1016.mail.bf1.yahoo.com Received: (qmail 19386 invoked by uid 60001); 18 Aug 2013 18:19:24 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s1024; t=1376849964; bh=ssD8vxGDX0msr47npxsM/CYgfb+VS1pcIsVMtTIYEbA=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Mq3Xry4zRD4qxa9MLoXrr5Ef/1er437pjOrWmMCSngzI4JibMOjZzfQG+Nsya+KcdWK/oYYeSg0K3soSEznYcZj/RDJIYY/HIJVYD0fozyg9v+4e39q8U80DqIG5jcAyxuNKNIAxCIhHo5HpPrYiSGApzU6fS+nM5amx9AA/iGI= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=ymail.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=HeRQcNYzAcq40xrEDN5vMbt7sWLSGaTkae5AmeaQ/YUfJTdEXZ5NBcgzzww7bw01HVxwvbv4S5j9xqLJXb1Vr3wdYiiu8xC3oBz1DLx3ewjdunMHzyC10wJPPCL5xAfyuNosv1zESCArK72Fqx5ecvSk1cz2n7wbWZHkXlUNagU=; X-YMail-OSG: mYj6yeoVM1mFWEgtDoLYrP016vXhl27DXLUuk16d4b7ATys 9H9bIi4tsf4qCFapeOOMSwm8ApXe5AGBZ1km2.mBEaaAYi5XmmDYU8w3q69R EAVFFS.47T3GM8UV0r2o3rmWI6txT5trJWnSX_Bk6I3FsVNRTBKvG1xpbc_O 3oAu_KRE9yBH98.yeWzo.fJlL6H3.mdW12fBg2qjVWRszuUQW4izNYJeQfdX bVYpfK6wAQwCMTmLI11k.YULFjC2DBrflhCy0uWrmmQLC4YSagOXJs40.xgX vF5useeg4CrWbflQxoQgUF.lkH2.3TvroR47k5icQeN2RlV96LylotO76Xmr xQK0PRibFj7git0qL8vim2xtk_s1.NY1.C.g8yjgHxS2_sz3fV5wlgA10IwV Kkvm4VDvO8FzQ9yvyN55J9LkxPMzLzxGO8qJ3UC.D2E_JzsYuKv0iyYFyl0C 2FpVzEE1PXdYrob09AbagZEsqAnODUbWB20qEXE.A7IpJDeqKWo_S3ZyQWuq djMm01cT3A3a_l8kqKTQy.VMWIvLPn7qsE8i5Cd_wrLkzCzey_xif_gUW1nh 5HJPVDEh0NSedcBXNj73k8VNuutC8iHe9RW8Kg.MITfw3uI57U7rDQeIEOWn sUQ0- Received: from [76.255.18.237] by web162904.mail.bf1.yahoo.com via HTTP; Sun, 18 Aug 2013 11:19:24 PDT X-Rocket-MIMEInfo: 002.001, S2V2aW4gR3JpdHRuZXIgPGtncml0dG5AeW1haWwuY29tPiB3cm90ZToKCj4gV2hldGhlciBpdCBpcyBhIGJ1ZyBpbiBXaW5kb3dzIG9yIGluIFBvc3RncmVTUUwgY2hhcmFjdGVyLQo.IGhhbmRsaW5nIHVuZGVyIFdpbmRvd3MgSSBjYW4gc2F5IG15c2VsZiwgc2luY2UgSSBoYXZlbid0Cj4gaGFkIGFueSByZWFzb24gdG8gdXNlIFdpbmRvd3MgZm9yIHllYXJzLgoKRXIsIHRoYXQgc2hvdWxkIGhhdmUgYmVlbiBJICpjYW4ndCogc2F5LgoKPj4gY3JlYXRlIG9yIHJlcGxhY2UgZnVuY3Rpb24gzrEozrIgaW50LCABMAEBAQE- X-Mailer: YahooMailWebService/0.8.154.571 References: <1376837506.52736.YahooMailNeo@web162906.mail.bf1.yahoo.com> Message-ID: <1376849964.19363.YahooMailNeo@web162904.mail.bf1.yahoo.com> Date: Sun, 18 Aug 2013 11:19:24 -0700 (PDT) From: Kevin Grittner Reply-To: Kevin Grittner Subject: Re: BUG #8385: greek symbols as function name To: Kevin Grittner , "kolmyk@hotmail.com" , "pgsql-bugs@postgresql.org" In-Reply-To: <1376837506.52736.YahooMailNeo@web162906.mail.bf1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: 0.7 (/) 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 Kevin Grittner wrote: > Whether it is a bug in Windows or in PostgreSQL character- > handling under Windows I can say myself, since I haven't > had any reason to use Windows for years. Er, that should have been I *can't* say. >> create or replace function =CE=B1(=CE=B2 int, =CE=BE int, =CE=BC float) = returns float as $$ >> select (=CE=B2 + =CE=BE) * =CE=BC $$ language sql; >> select =CE=B1(1, 2, 0.1); >> -- it works >> select ascii(proname), * from pg_proc where length(proname) =3D 1; >> -- return code 60536 although select ascii('=CE=B1') retruns 945 >> select * from pg_proc where proname =3D '=CE=B1'; >> -- returns nothing It occurs to me that the behavior you are seeing would be consistent with 945 being considered an uppercase letter, with 60536 being considered its lowercase form.=C2=A0 Normal PostgreSQL case-folding of identifiers would then cause exactly the symptoms you are seeing.=C2=A0 You could test this theory by quoting its use as an identifier: create or replace function "=CE=B1"(=CE=B2 int, =CE=BE int, =CE=BC float) r= eturns float as $$ =C2=A0 select (=CE=B2 + =CE=BE) * =CE=BC $$ language sql; select "=CE=B1"(1, 2, 0.1); select ascii(proname), * from pg_proc where length(proname) =3D 1; select * from pg_proc where proname =3D '=CE=B1'; If that behaves correctly, you need to sort out what about your environment is causing the odd case-folding. -- Kevin Grittner EDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs