Re: ERROR: encoding LATIN9 does not match server's locale en_US - Mailing list pgsql-admin

From Tom Lane
Subject Re: ERROR: encoding LATIN9 does not match server's locale en_US
Date
Msg-id 11865.1207073502@sss.pgh.pa.us
Whole thread Raw
In response to ERROR: encoding LATIN9 does not match server's locale en_US  (Arnau <arnaulist@andromeiberica.com>)
List pgsql-admin
Arnau <arnaulist@andromeiberica.com> writes:
> template1=# create database test with encoding='LATIN9';
> ERROR:  encoding LATIN9 does not match server's locale en_US
> DETAIL:  The server's LC_CTYPE setting requires encoding LATIN1.

>   I've been looking into the documentation to fix this and the only way
> I have found is to use initdb to recreate the cluster, Is there any
> other option?

Nope, sorry.  If you need to change the database locale, you have to
re-initdb.

            regards, tom lane

pgsql-admin by date:

Previous
From: Arnau
Date:
Subject: ERROR: encoding LATIN9 does not match server's locale en_US
Next
From: Michael Monnerie
Date:
Subject: Re: Postgres and SUN