pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <kgrittn@ymail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: kolmyk@hotmail.com <kolmyk@hotmail.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: BUG #8385: greek symbols as function name
Date: Sun, 18 Aug 2013 13:48:21 -0700 (PDT)
Message-ID: <1376858901.88877.YahooMailNeo@web162902.mail.bf1.yahoo.com> (raw)
In-Reply-To: <32585.1376851235@sss.pgh.pa.us>
References: <E1VAFvb-00008C-Qg@wrigleys.postgresql.org>
	<1376837506.52736.YahooMailNeo@web162906.mail.bf1.yahoo.com>
	<1376849964.19363.YahooMailNeo@web162904.mail.bf1.yahoo.com>
	<32585.1376851235@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Kevin Grittner <kgrittn@ymail.com> writes:
>> 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.  Normal PostgreSQL
>> case-folding of identifiers would then cause exactly the symptoms
>> you are seeing.
>
> Hmm ... identifier case-folding isn't really supposed to do anything to
> multibyte characters.  I wonder if this isn't a variant of the issue
> recently fixed in commit d535136b5d60b19f7ffa777b97ed301739c15a9d.

Maybe.  I notice that if you interpret the first byte as a Unicode
code point (as opposed to the first byte of a UTF-8 encoded
character), it is an uppercase letter.  But I can't quite see how
that gets to the decimal 60536 value.  Also, going to a commit
prior to the referenced fix I still don't see any problem on my
machine.  That doesn't rule out a platform-specific manifestation
of the issue, though.

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


-- 
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 (5+ messages)

Message-ID: <1376858901.88877.YahooMailNeo@web162902.mail.bf1.yahoo.com>
Permalink:  ../1376858901.88877.YahooMailNeo@web162902.mail.bf1.yahoo.com/
Also on:    postgresql.org/message-id/1376858901.88877.YahooMailNeo@web162902.mail.bf1.yahoo.com

 · 

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: kgrittn@ymail.com, tgl@sss.pgh.pa.us, kolmyk@hotmail.com
  Subject: Re: BUG #8385: greek symbols as function name
  In-Reply-To: <1376858901.88877.YahooMailNeo@web162902.mail.bf1.yahoo.com>
  References: <E1VAFvb-00008C-Qg@wrigleys.postgresql.org> <1376837506.52736.YahooMailNeo@web162906.mail.bf1.yahoo.com> <1376849964.19363.YahooMailNeo@web162904.mail.bf1.yahoo.com> <32585.1376851235@sss.pgh.pa.us> <1376858901.88877.YahooMailNeo@web162902.mail.bf1.yahoo.com>

* 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