Re: [PATCHES] Gen_fmgrtab.sh fails with LANG=et_EE

Поиск
Список
Период
Сортировка
От Marko Kreen
Тема Re: [PATCHES] Gen_fmgrtab.sh fails with LANG=et_EE
Дата
Msg-id e51f66da0609051337x6abce533j3426deed5e4c7c5f@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [PATCHES] Gen_fmgrtab.sh fails with LANG=et_EE  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Ding-dong, contrib is dead ...
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Win32 hard crash problem