Re: initdb "Fails to initialize lc_time" (using 7.3.1) - Mailing list pgsql-admin

From Peter Eisentraut
Subject Re: initdb "Fails to initialize lc_time" (using 7.3.1)
Date
Msg-id Pine.LNX.4.44.0208092150080.927-100000@localhost.localdomain
Whole thread Raw
In response to Re: initdb "Fails to initialize lc_time" (using 7.3.1)  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: initdb "Fails to initialize lc_time" (using 7.3.1)
List pgsql-admin
Tom Lane writes:

> Even if that means you fail to detect that locale B is broken in some
> way?

We don't pretend to do a thorough check of the locales anyway.  We'd have
to run a full test suite to do that.  Of course, it would be nice to check
whether setlocale() works, but initdb should do that itself then.

> I'm not at all sure I buy this reasoning.  If the user has told us a
> locale to use on the initdb command line, seems to me he wants us to use
> that locale, period.

Think about it this way:  If I'm the admin and a customer tells me to
install a database for him in Greek, which localization would I want for
responses from initdb?

--
Peter Eisentraut   peter_e@gmx.net


pgsql-admin by date:

Previous
From: Jie Liang
Date:
Subject: Re: problem with select into and timestamp.
Next
From: Peter Eisentraut
Date:
Subject: Re: initdb "Fails to initialize lc_time" (using 7.3.1)