Thread: initdb problem (cygwin)

initdb problem (cygwin)

From
"Robert"
Date:
hi,

i installed postgres (latest version) under cygwin / WinXP.

i started ipc-daemon2

when i want to run the initdb routine I got the following error message
(watch this)

$ initdb -E LATIN1 /usr/shared/postgresql/data
The files belonging to this database system will be owned by user
This user must also own the server process.

The database cluster will be initialized with locale 3079.

creating directory /usr/shared/postgresql/data... ok
creating directory /usr/shared/postgresql/data/base... ok
creating directory /usr/shared/postgresql/data/global... ok
creating directory /usr/shared/postgresql/data/pg_xlog... ok
creating directory /usr/shared/postgresql/data/pg_clog... ok
selecting default max_connections... 10
selecting default shared_buffers... 50
creating configuration files... ok
creating template1 database in /usr/shared/postgresql/data/base/1... FATAL:
invalid value for parameter "lc_messages": "3079"

initdb: failed
initdb: removing data directory "/usr/shared/postgresql/data"

hope you can help me.

thanks,
robert



Re: initdb problem (cygwin)

From
Peter Eisentraut
Date:
Robert wrote:
> creating template1 database in /usr/shared/postgresql/data/base/1...
> FATAL: invalid value for parameter "lc_messages": "3079"

Perhaps you should set your locale environment to something less
bizarre.