pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Mikel Lindsaar <raasdnil@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Postgres Backup and Restore
Date: Sat, 09 Feb 2008 13:03:37 -0500
Message-ID: <25530.1202580217@sss.pgh.pa.us> (raw)
In-Reply-To: <57a815bf0802090345p1c65fa12r622e4b4de062eb82@mail.gmail.com>
References: <57a815bf0802090345p1c65fa12r622e4b4de062eb82@mail.gmail.com>

"Mikel Lindsaar" <raasdnil@gmail.com> writes:
> If you have bad character encodings in your data, you can not backup
> and restore that data using pg_dump and pg_restore, on Windows Server
> 2003, using compress or plain text modes.  Both modes fail on the bad
> encoding when you try to restore.

Are you sure that the destination database has the same encoding
declaration as the source did?  How was the badly-encoded data
inserted in the first place?

			regards, tom lane



view thread (7+ messages)  latest in thread

Message-ID: <25530.1202580217@sss.pgh.pa.us>
Permalink:  ../25530.1202580217@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/25530.1202580217@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, raasdnil@gmail.com
  Subject: Re: Postgres Backup and Restore
  In-Reply-To: <25530.1202580217@sss.pgh.pa.us>

* 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