pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Guillaume Lelarge <guillaume@lelarge.info>
To: Johann Spies <jspies@sun.ac.za>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: Problem restoring a dump
Date: Tue, 13 Sep 2011 22:07:48 +0200
Message-ID: <1315944468.5302.0.camel@localhost.localdomain> (raw)
In-Reply-To: <20110913124740.GA30709@sun.ac.za>
References: <20110913091831.GA26669@sun.ac.za>
	<7728C00C-EFC8-401E-A0A5-76A253269C89@2ndquadrant.it>
	<196cf71cbca8f7fb8505fb2da9469fbe@2ndquadrant.it>
	<20110913124740.GA30709@sun.ac.za>

On Tue, 2011-09-13 at 14:47 +0200, Johann Spies wrote:
> Thanks Giulio and Gabriele,
> 
> >     as Giulio pointed out, it seems like the destination database is in 
> >  LATIN1 encoding, rather than UTF8. Could you please confirm this?
> 
> That was the case.  I deleted one of the databases and recreated it with
> as a UTF-8 encoded database and the import went well.
> 
> Question:  Can I change the encoding system of an existing database?  If
> so, how?
> 

No, you can't. You need to create a new one with the good encoding.


-- 
Guillaume
  http://blog.guillaume.lelarge.info
  http://www.dalibo.com




view thread (7+ messages)  latest in thread

Message-ID: <1315944468.5302.0.camel@localhost.localdomain>
Permalink:  ../1315944468.5302.0.camel@localhost.localdomain/
Also on:    postgresql.org/message-id/1315944468.5302.0.camel@localhost.localdomain

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: guillaume@lelarge.info, jspies@sun.ac.za
  Subject: Re: Problem restoring a dump
  In-Reply-To: <1315944468.5302.0.camel@localhost.localdomain>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox