From: Rado Petrik <r.p@szm.sk>
To: PostgreSQL-mailinglist <pgsql-sql@postgresql.org>
Subject: Failed to initialize lc_messages to ''
Date: 01 Jul 2003 15:11:21 +0200
Message-ID: <1057065081.4934.25.camel@caj> (raw)
Hi,
I have problem start database.
1) I compile postgresql 7.3.3 with parameters.
./configure --enable-nls --enable-multibyte --enable-locale
2) Then set env variables ,
export LANG=cs_CZ
3) initdb -D /my_cz_db
Initdb returned :
The files belonging to this database system will be owned by user
"postgres".
This user must also own the server process.
The database cluster will be initialized with locale cs_CS.
This locale setting will prevent the use of indexes for pattern matching
operations. If that is a concern, rerun initdb with the collation order
set to "C". For more information see the Administrator's Guide.
Fixing permissions on existing directory /var/lib/postgres/data2... ok
creating directory /var/lib/postgres/data2/base... ok
creating directory /var/lib/postgres/data2/global... ok
creating directory /var/lib/postgres/data2/pg_xlog... ok
creating directory /var/lib/postgres/data2/pg_clog... ok
creating template1 database in /var/lib/postgres/data2/base/1... ok
creating configuration files... ok
initializing pg_shadow... Failed to initialize lc_messages to ''
ok
enabling unlimited row size for system tables... Failed to initialize
lc_messages to ''
ok
initializing pg_depend... Failed to initialize lc_messages to ''
ok
creating system views... Failed to initialize lc_messages to ''
ok
loading pg_description... Failed to initialize lc_messages to ''
ok
creating conversions... Failed to initialize lc_messages to ''
ok
setting privileges on built-in objects... Failed to initialize
lc_messages to ''
ok
vacuuming database template1... Failed to initialize lc_messages to ''
ok
copying template1 to template0... Failed to initialize lc_messages to ''
ok
4) /usr/local/pgsql/bin/postmaster -D /var/lib/postgres/my_cz_db
Postmaster returned:
Failed to initialize lc_messages to ''
FATAL: invalid value for option 'LC_MESSAGES': 'cs_CZ'
Thanks.
--
Rado Petrik <r.p@szm.sk>
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: r.p@szm.sk
Subject: Re: Failed to initialize lc_messages to ''
In-Reply-To: <1057065081.4934.25.camel@caj>
* 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