pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Johann Spies <jspies@sun.ac.za>
To: pgsql-admin@postgresql.org
Subject: Problem restoring a dump
Date: Tue, 13 Sep 2011 11:18:31 +0200
Message-ID: <20110913091831.GA26669@sun.ac.za> (raw)

Good day,

I have installed postgresql 9.0 on my Debian and thought that restoring
the database would be as simple as psql -f <the dump made by 8.4's
pg_dumpall>.

However: I get several errors like this:

psql:pgdump.txt.1:4453471: ERROR:  character 0xe280a6 of encoding "UTF8"
has no equivalent in "LATIN1"

I have changed the client-encoding of psql to UTF8 but I see after the
restore of the dump the encoding is still LATIN1.

How do I overcome this?

Regards
Johann
-- 
Johann Spies                            Telefoon: 021-808 4699
Databestuurder /  Data manager

Sentrum vir Navorsing oor Evaluasie, Wetenskap en Tegnologie
Centre for Research on Evaluation, Science and Technology 
Universiteit Stellenbosch.

     "For my thoughts are not your thoughts, neither are 
      your ways my ways, saith the LORD. For as the heavens 
      are higher than the earth, so are my ways higher than 
      your ways, and my thoughts than your thoughts."       
                               Isaiah 55:8,9 



view thread (7+ messages)  latest in thread

Message-ID: <20110913091831.GA26669@sun.ac.za>
Permalink:  ../20110913091831.GA26669@sun.ac.za/
Also on:    postgresql.org/message-id/20110913091831.GA26669@sun.ac.za

 · 

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: jspies@sun.ac.za
  Subject: Re: Problem restoring a dump
  In-Reply-To: <20110913091831.GA26669@sun.ac.za>

* 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