RPM init-script: Why the locale setting? - Mailing list pgsql-general

From Troels Arvin
Subject RPM init-script: Why the locale setting?
Date
Msg-id pan.2004.04.04.20.48.11.495866@arvin.dk
Whole thread Raw
Responses Re: RPM init-script: Why the locale setting?
Re: RPM init-script: Why the locale setting?
Re: RPM init-script: Why the locale setting?
List 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 by date:

Previous
From:
Date:
Subject: Re: thread_test.c problems
Next
From: Paul Thomas
Date:
Subject: Re: RPM init-script: Why the locale setting?