h4rr1s
New Member
Hi Leute,
Ich hab ein Problem beim initdb:
Ich habe anstatt von POSIX auch schon C probiert, mit dem gleichen Ergebnis.
Weiters funktioniert das initdb nur, wenn ich alle anderen lc_* auf POSIX oder C setze, weil er sich sonst schon bei "creating template1" erhängt.
Wenn ich --no-locale oder --locale=C verwende, dann funktioniert alles, jedoch will ich Umlaute in meiner Datenbank haben.
greetz
H4RR1S
Ich hab ein Problem beim initdb:
Code:
$ initdb -E LATIN1 --lc-messages=POSIX --lc-monetary=POSIX --lc-numeric=POSIX --lc-time=POSIX
The files belonging to this database system will be owned by user "_postgresql".
This user must also own the server process.
The database cluster will be initialized with locales:
COLLATE: de_DE.ISO-8859-1
CTYPE: de_DE.ISO-8859-1
MESSAGES: POSIX
MONETARY: POSIX
NUMERIC: POSIX
TIME: POSIX
creating directory /var/postgresql/data... ok
creating directory /var/postgresql/data/base... ok
creating directory /var/postgresql/data/global... ok
creating directory /var/postgresql/data/pg_xlog... ok
creating directory /var/postgresql/data/pg_clog... ok
selecting default max_connections... 10
selecting default shared_buffers... 50
creating configuration files... ok
creating template1 database in /var/postgresql/data/base/1... ok
initializing pg_shadow... FATAL: XX000: failed to initialize lc_messages to ""
LOCATION: InitializeGUCOptions, guc.c:1866
initdb: failed
initdb: removing data directory "/var/postgresql/data"
Ich habe anstatt von POSIX auch schon C probiert, mit dem gleichen Ergebnis.
Weiters funktioniert das initdb nur, wenn ich alle anderen lc_* auf POSIX oder C setze, weil er sich sonst schon bei "creating template1" erhängt.
Wenn ich --no-locale oder --locale=C verwende, dann funktioniert alles, jedoch will ich Umlaute in meiner Datenbank haben.
greetz
H4RR1S