Re: [PATCHES] Gen_fmgrtab.sh fails with LANG=et_EE - Mailing list pgsql-hackers

From Marko Kreen
Subject Re: [PATCHES] Gen_fmgrtab.sh fails with LANG=et_EE
Date
Msg-id e51f66da0609051337x6abce533j3426deed5e4c7c5f@mail.gmail.com
Whole thread Raw
In response to Re: [PATCHES] Gen_fmgrtab.sh fails with LANG=et_EE  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 9/5/06, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Peter Eisentraut <peter_e@gmx.net> writes:
> > Well, the line of code is
> > cpp_define=`echo $OIDSFILE | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | sed -e 's/[^A-Z]/_/g'`
> > so it ought to be pretty obvious what the correct solution for the
> > problem "character ranges are locale-dependent" is.
>
> Doh.  Patched that way.
>
> Curiously, I couldn't replicate the failure on Fedora 5 --- Marko's
> platform must have different locale behavior for et_EE.

Did you add it to locale-gen config and ran it?

Btw, I removed all the pipeline in my patch, because I felt
such messy pipeline for such a tiny thing is ugly.  Especially
as the filename wont change that much.  Thus I though it would
be cleaner to just put the symbol together with filename definition.

--
marko

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Ding-dong, contrib is dead ...
Next
From: "Joshua D. Drake"
Date:
Subject: Re: Win32 hard crash problem