Re: Postgresql 8.1.3 Debian installation encoding question - Mailing list pgsql-admin

From Joost Kraaijeveld
Subject Re: Postgresql 8.1.3 Debian installation encoding question
Date
Msg-id 1143365878.7278.6.camel@localhost
Whole thread Raw
In response to Re: Postgresql 8.1.3 Debian installation encoding question  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Postgresql 8.1.3 Debian installation encoding question
List pgsql-admin
On Sun, 2006-03-26 at 10:20 +0200, Peter Eisentraut wrote:
> It's derived from the locale, so make sure all your locales are set up
> correctly.
OK, but how is it derived? As far as I know, I did not change anything
in the locales since the previous time I installed PostgreSQL.

My locales are:
jkr@panoramix:~$ locale
LANG=
LANGUAGE=en_US:en_GB
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=


I solved the immediate "problem" by doing an "initdb -E UTF8" but I am
not quite satisfied by that sollution: it makes the installation of
PostgreSQL more difficult for non-initiated users (including myself),
who think that a simple "apt-get install'  does the right thing.

TIA

Joost

pgsql-admin by date:

Previous
From: Erwin Brandstetter
Date:
Subject: Re: database locale and system locale
Next
From: "Donald Fraser"
Date:
Subject: Initial request packet for SSL