Re: Turkish downcasting in PL/pgSQL

From: ntufar <ntufar(at)pisem(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)postgresql(dot)org, Peter Eisentraut <peter_e(at)gmx(dot)net>
Subject: Re: Turkish downcasting in PL/pgSQL
Date: 2004-08-12 19:47:54
Message-ID: 1092340074.2945.24.camel@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

12-08-2004 Perşembe günü saat 22:27 sularında, Tom Lane dedi ki:
> ntufar <ntufar(at)pisem(dot)net> writes:
> > I attached a diff of fix that adds LANG=C; before call to $(FLEX).
> > Fixes the problem here but I don't know if adding environment variable
> > assignment like this is appropriate. I am not too fluent in PostgreSQL
> > build environment and do not know where one can put a global deffinition
> > you are talking below.
>
> Um, the attachment was unreadable :-( but I get the idea.

Something to do with my mail provider, sorry.
in file src/pl/plpgsql/src/Makefile:
LANG=C;$(FLEX) $(FLEXFLAGS) -Pplpgsql_base_yy -o'$@' $<
instead of
$(FLEX) $(FLEXFLAGS) -Pplpgsql_base_yy -o'$@' $<

>
> As for the global solution, I was wondering if it would work to put
> "LANG=C" right inside the definition of $(FLEX). That would ensure
> the right behavior from all our flex builds without unnecessarily
> messing up people's build environments otherwise. I don't know however
> whether this would parse properly.

The only thing that comest in mind is that it may break Win32 port.
Can someone comment on this?

>
> regards, tom lane

Regards,
Nicolai Tufar

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2004-08-12 21:30:45 Re: BUG #1216: pgcrypto:hmac() segfaults
Previous Message Robert E. Bruccoleri 2004-08-12 19:30:53 Re: Regression failure with PostgreSQL 8beta1 and Intel

Browse pgsql-hackers by date

  From Date Subject
Next Message Philip Warner 2004-08-13 01:45:11 Re: pg_restore (libpq? parser?) bug in 8
Previous Message Bruce Momjian 2004-08-12 19:45:11 Re: parameter hints to the optimizer