Re: unicode - Mailing list pgsql-admin

From Hannes Dorbath
Subject Re: unicode
Date
Msg-id 42c3cee1$0$22365$8fe63b2a@news.disputo.net
Whole thread Raw
In response to Re: unicode  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: unicode
List pgsql-admin
> I hear that FreeBSD doesn't support Unicode, so you're probably out of luck
> for now.

Hm, but the locales are there, it's just named de_DE.UTF-8 instead of
de_DE.utf8 on FreeBSD. InitDB crashs with the following:

[pgsql@kirk pgsql]$initdb --locale=de_DE.UTF-8
The files belonging to this database system will be owned by user "pgsql".
This user must also own the server process.

The database cluster will be initialized with locale de_DE.UTF-8.
The default database encoding has accordingly been set to UNICODE.

fixing permissions on existing directory /opt/pgsql/data ... ok
creating directory /opt/pgsql/data/global ... ok
creating directory /opt/pgsql/data/pg_xlog ... ok
creating directory /opt/pgsql/data/pg_xlog/archive_status ... ok
creating directory /opt/pgsql/data/pg_clog ... ok
creating directory /opt/pgsql/data/pg_subtrans ... ok
creating directory /opt/pgsql/data/base ... ok
creating directory /opt/pgsql/data/base/1 ... ok
creating directory /opt/pgsql/data/pg_tblspc ... ok
selecting default max_connections ... 10
selecting default shared_buffers ... 50
creating configuration files ... ok
creating template1 database in /opt/pgsql/data/base/1 ... FATAL:  XX000:
failed to initialize lc_messages to ""
LOCATION:  InitializeGUCOptions, guc.c:2389
child process exited with exit code 1
initdb: removing contents of data directory "/opt/pgsql/data"
[pgsql@kirk pgsql]$

--
imos  Gesellschaft fuer Internet-Marketing und Online-Services mbH
Alfons-Feifel-Str. 9 // D-73037 Goeppingen  // Stauferpark Ost
Tel: 07161 93339-14 // Fax: 07161 93339-99 // Internet: www.imos.net

pgsql-admin by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: unicode
Next
From: Tom Lane
Date:
Subject: Re: unicode