Gen_fmgrtab.sh fails with LANG=et_EE - Mailing list pgsql-patches

From Marko Kreen
Subject Gen_fmgrtab.sh fails with LANG=et_EE
Date
Msg-id e51f66da0609050157h5a5e67ccq975d023a88370d6a@mail.gmail.com
Whole thread Raw
Responses Re: Gen_fmgrtab.sh fails with LANG=et_EE  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
I recently changed locale in my machine and PostgreSQL build broke.
The reason is that Gen_fmgrtab.sh uses [^A-Z] expression to sed
and the GNU people in their infinite wisdom made that locale-dependant.

As the script uses the complicated pipeline only for fmgroids.h -> FMGROIDS_H
conversion, it seems simpler to just make it explicitly set, instead to
try to work around GNU sed.

I grepped around source and did not find other instances of this.
The A-Z experssion was only in perl scripts or in configure and
configure should be fine as it explicitly resets locale.

--
marko

Attachment

pgsql-patches by date:

Previous
From: "Nikolay Samokhvalov"
Date:
Subject: Re: XML syntax patch
Next
From: Michael Meskes
Date:
Subject: Re: Fix PGPORT reassignment in ecpg regression tests