Re: Turkish downcasting in PL/pgSQL

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: ntufar <ntufar(at)pisem(dot)net>, pgsql-bugs(at)postgresql(dot)org
Cc: devrim(at)tdmsoft(dot)com
Subject: Re: Turkish downcasting in PL/pgSQL
Date: 2004-08-14 08:34:38
Message-ID: 200408141034.38948.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

ntufar wrote:
> Apparently problem is caused by the following directive:
>
> %option case-insensitive
>
> on line 76 in file src/pl/plpgsql/src/scan.l
>
> flex (flex version 2.5.4) incorporates case-insensitivity in it's
> state tables because if I run flex stage with LANG=C everything
> works fine. A quick and dirty fix could be implemented by placing
>
> LANG=C
> export LANG
>
> in file src/pl/plpgsql/src/Makefile before calling flex.

I have tried running flex (2.5.4) with a number of different locales
including tr_TR, but the output file is always the same. Can you show
us a diff of the generated files?

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Eisentraut 2004-08-14 08:57:58 Re: BUG #1217: wrong date->number of week conversion
Previous Message Peter Eisentraut 2004-08-14 08:21:33 Re: Turkish downcasting in PL/pgSQL

Browse pgsql-hackers by date

  From Date Subject
Next Message Gaetano Mendola 2004-08-14 08:41:17 Re: will PITR in 8.0 be usable for "hot spare"/"log
Previous Message Gaetano Mendola 2004-08-14 08:28:11 Re: Calling PL functions with named parameters