Re: Turkish downcasting in PL/pgSQL - Mailing list pgsql-bugs

From Peter Eisentraut
Subject Re: Turkish downcasting in PL/pgSQL
Date
Msg-id 200408141034.38948.peter_e@gmx.net
Whole thread Raw
In response to Turkish downcasting in PL/pgSQL  (ntufar <ntufar@pisem.net>)
Responses Re: Turkish downcasting in PL/pgSQL
List pgsql-bugs
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/

pgsql-bugs by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Turkish downcasting in PL/pgSQL
Next
From: Peter Eisentraut
Date:
Subject: Re: BUG #1217: wrong date->number of week conversion