Gen_fmgrtab.sh fails with LANG=et_EE

From: "Marko Kreen" <markokr(at)gmail(dot)com>
To: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Gen_fmgrtab.sh fails with LANG=et_EE
Date: 2006-09-05 08:57:54
Message-ID: e51f66da0609050157h5a5e67ccq975d023a88370d6a@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers 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 Content-Type Size
genfmgrtab.diff text/x-patch 1.6 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Gevik Babakhani 2006-09-05 09:29:40 TODO item: GUID
Previous Message Marko Kreen 2006-09-05 08:42:50 Re: pgcrypto deprecated functions?

Browse pgsql-patches by date

  From Date Subject
Next Message Michael Meskes 2006-09-05 10:16:41 Re: Fix PGPORT reassignment in ecpg regression tests
Previous Message Jeremy Drake 2006-09-05 08:30:08 large object regression tests