Failed to initialize lc_messages to ''

From: Rado Petrik <r(dot)p(at)szm(dot)sk>
To: PostgreSQL-mailinglist <pgsql-sql(at)postgresql(dot)org>
Subject: Failed to initialize lc_messages to ''
Date: 2003-07-01 13:11:21
Message-ID: 1057065081.4934.25.camel@caj
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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(dot)p(at)szm(dot)sk>

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2003-07-01 13:33:53 Re: CREATE SEQUENCE fails in plpgsql function
Previous Message scott.marlowe 2003-07-01 12:47:10 Re: need some help with a delete statement