pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dan Harris <fbsd@drivefaster.net>
To: pgsql-admin@postgresql.org
Subject: Re: Can't restore a pg_dump due to encoding errors
Date: Sat, 07 Apr 2007 15:32:17 -0600
Message-ID: <46180DE1.2050908@drivefaster.net> (raw)
In-Reply-To: <46180885.4050504@drivefaster.net>
References: <46180885.4050504@drivefaster.net>

Dan Harris wrote:
> Hello all:
> 
> I'm in a bit of a bind here.  Today is my maintenance window for 
> upgrading from 8.0.3 to 8.2.3.  I did a pg_dumpall overnight ( resulting 
> in a 72GB file ) and then a pg_dump on one of my small databases this 
> morning to test pg_restore. When trying to reload, I'm getting the 
> following error:
> 
> psql:sac.bak:2793776: ERROR:  invalid byte sequence for encoding "UTF8": 
> 0x92

I found the utility 'iconv', which sounds like it addresses this problem.  I ran 
the utility against the dump file and then it loaded without error.. Just 
validating that the data is indeed there.






view thread (3+ messages)

Message-ID: <46180DE1.2050908@drivefaster.net>
Permalink:  ../46180DE1.2050908@drivefaster.net/
Also on:    postgresql.org/message-id/46180DE1.2050908@drivefaster.net

 · 

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: fbsd@drivefaster.net
  Subject: Re: Can't restore a pg_dump due to encoding errors
  In-Reply-To: <46180DE1.2050908@drivefaster.net>

* 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