Re: ERROR: encoding LATIN9 does not match server's locale en_US

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: arnaulist(at)andromeiberica(dot)com
Cc: "pgsql-admin(at)postgresql(dot)org >> \"pgsql-admin(at)postgresql(dot)org\"" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: ERROR: encoding LATIN9 does not match server's locale en_US
Date: 2008-04-01 18:11:42
Message-ID: 11865.1207073502@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Arnau <arnaulist(at)andromeiberica(dot)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Michael Monnerie 2008-04-01 18:14:41 Re: Postgres and SUN
Previous Message Arnau 2008-04-01 17:28:42 ERROR: encoding LATIN9 does not match server's locale en_US