Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id A4ADF2E0079 for ; Tue, 1 Apr 2008 14:35:29 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 18161-10 for ; Tue, 1 Apr 2008 14:35:15 -0300 (ADT) X-Greylist: delayed 00:06:25.146852 by SQLgrey-1.7.5 Received: from fafnir.androme.com (fafnir.androme.com [62.58.96.158]) by developer.postgresql.org (Postfix) with ESMTP id 170FC2E0066 for ; Tue, 1 Apr 2008 14:35:13 -0300 (ADT) Received: by fafnir.androme.com (Postfix, from userid 1003) id 2B6F3E6C6EF; Tue, 1 Apr 2008 19:28:43 +0200 (CEST) Message-ID: <47F270CA.8040407@andromeiberica.com> Date: Tue, 01 Apr 2008 19:28:42 +0200 From: Arnau Reply-To: arnaulist@andromeiberica.com User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: "pgsql-admin@postgresql.org >> \"pgsql-admin@postgresql.org\"" Subject: ERROR: encoding LATIN9 does not match server's locale en_US Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200804/13 X-Sequence-Number: 28777 Hi all, Using PostgreSQL 8.3.0 I'm trying to do the following: 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? Thanks -- Arnau