RPM init-script: Why the locale setting?

Поиск
Список
Период
Сортировка
От Troels Arvin
Тема RPM init-script: Why the locale setting?
Дата
Msg-id pan.2004.04.04.20.48.11.495866@arvin.dk
обсуждение исходный текст
Ответы Re: RPM init-script: Why the locale setting?  (Paul Thomas <paul@tmsl.demon.co.uk>)
Re: RPM init-script: Why the locale setting?  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
Re: RPM init-script: Why the locale setting?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Hello,

In the init-script contained in the RPMs downloadable from the PostgreSQL
site (I checked the one for Fedora), an explicit locale is set before
running initdb. - And the explicit locale is not "C".

This means that a PostgreSQL installation will not use indexes for LIKE
queries (I just ran into this). See
http://www.postgresql.org/docs/faqs/FAQ.html#4.8

I suggest that the init-script be rewritten so that LANG and LC_ALL are
unset before initdb is run (which happens the first time PostgreSQL is
started after the RPM-based installation).

--
Greetings from Troels Arvin, Copenhagen, Denmark


В списке pgsql-general по дате отправления:

Предыдущее
От:
Дата:
Сообщение: Re: thread_test.c problems
Следующее
От: Paul Thomas
Дата:
Сообщение: Re: RPM init-script: Why the locale setting?