From: Tom Lane <tgl@sss.pgh.pa.us>
To: jan.berka@dreger.de
Cc: pgsql-admin@postgresql.org
Subject: Re: Failed to initialize lc_messages to ''
Date: Mon, 17 Mar 2003 14:36:02 -0500
Message-ID: <7755.1047929762@sss.pgh.pa.us> (raw)
In-Reply-To: <3805b80.0303150440.471a08c4@posting.google.com>
References: <3805b80.0303150440.471a08c4@posting.google.com>
jan.berka@dreger.de (Jan B.) writes:
> when I try to execute initdb I get the following errors:
> The database cluster will be initialized with locales:
> COLLATE: POSIX CTYPE: en_US MESSAGES: en_US
> MONETARY: en_US NUMERIC: en_US TIME: en_US
> creating template1 database in /opt/pgsql/data/base/1... Failed to
> initialize lc_messages to ''
What platform is this? You should complain to the relevant people about
their broken locale definitions. If they're going to set en_US as the
default locale then it darn well ought to work in all locale categories.
In the meantime, try
export LC_ALL=C
(or equivalent syntax if you use a C shell) before you run initdb.
You'll be better off running Postgres in C locale anyway.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, jan.berka@dreger.de
Subject: Re: Failed to initialize lc_messages to ''
In-Reply-To: <7755.1047929762@sss.pgh.pa.us>
References: <3805b80.0303150440.471a08c4@posting.google.com> <7755.1047929762@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox