From: Jan Wieck <wieck@debis.com>
To: Kovacs Zoltan <kovacsz@pc10.radnoti-szeged.sulinet.hu>
Cc: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] plpgsql bug(?)
Date: Wed, 05 Jan 2000 16:05:31 +0100
Message-ID: <38735DBB.360E369B@debis.com> (raw)
References: <Pine.LNX.4.05.10001051123380.19358-100000@pc10.radnoti-szeged.sulinet.hu>
Kovacs Zoltan wrote:
> Dear Jan,
>
> The problem occurs with "vevõ = new.az", I think the plpgsql parser
> stops processing the field name "vevõ" because "õ" (code 245)
> is not a standard ASCII character, it is from the Latin2 set.
> I tried other non-international characters like "é" (code 233)
> without success.
>
> Could you please help, where to modify the sources to make this work?
> I am using version 6.5.2.
Unfortunately I cannot reproduce that behaviour here. Seems
that your version of lex(1) has another understanding of the
character class [:alnum:] than my one. I can use äöü
(a-diaeresis etc.), µ (greek my character) and ³ (3
superscripted) too.
I'm using flex-2.5.4 here. But I'm not really sure it is that
itself, maybe flex is using isalnum() from the standard C
library inside. Then it would be more tricky.
You can play around with the two character sets WS and WC
declared at the top of
src/pl/plpgsql/src/scan.l
They are slightly extended regular expressions (the class
notation inside).
Jan
--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#========================================= wieck@debis.com (Jan Wieck) #
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-sql@postgresql.org
Cc: wieck@debis.com, kovacsz@pc10.radnoti-szeged.sulinet.hu
Subject: Re: [SQL] plpgsql bug(?)
In-Reply-To: <38735DBB.360E369B@debis.com>
References: <Pine.LNX.4.05.10001051123380.19358-100000@pc10.radnoti-szeged.sulinet.hu> <38735DBB.360E369B@debis.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