Thread: initdb failed: invalid value for parameter "lc_messages": "ENU"

initdb failed: invalid value for parameter "lc_messages": "ENU"

From
News
Date:
Tried to use postgresql under cygwin. latest available version which is
included in the cygwin-setup. Using English WinXP-pro, computer located
in Sweden. Any ideas someone?

-- Mattias


bash-2.05b$ initdb --version
initdb (PostgreSQL) 7.4
bash-2.05b$


bash-2.05b$ mkdir /data/db/postgresql
bash-2.05b$ ipc-daemon2 &
[1] 1320
bash-2.05b$ initdb -D /data/db/postgresql
The files belonging to this database system will be owned by user "mattias".
This user must also own the server process.

The database cluster will be initialized with locale ENU.

fixing permissions on existing directory /data/db/postgresql... ok
creating directory /data/db/postgresql/base... ok
creating directory /data/db/postgresql/global... ok
creating directory /data/db/postgresql/pg_xlog... ok
creating directory /data/db/postgresql/pg_clog... ok
selecting default max_connections... 100
selecting default shared_buffers... 1000
creating configuration files... ok
creating template1 database in /data/db/postgresql/base/1... FATAL:
invalid value for parameter "lc_messages": "ENU"

initdb: failed
bash-2.05b$



Re: initdb failed: invalid value for parameter "lc_messages": "ENU"

From
Jason Tishler
Date:
Mattias,

On Fri, Nov 28, 2003 at 10:28:15AM +0100, News wrote:
> Tried to use postgresql under cygwin. latest available version which
> is included in the cygwin-setup. Using English WinXP-pro, computer
> located in Sweden. Any ideas someone?
>
> [snip]
>
> invalid value for parameter "lc_messages": "ENU"

See the README.  Specifically, the following:

    3. Cygwin PostgreSQL only supports the "C" locale because Cygwin
    itself does not fully support locales.

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6