pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Matt Doughty <mdoughty@japan.ea.com>
To: pgsql-admin@postgresql.org
Subject: failed import
Date: Tue, 17 Dec 2002 16:38:27 +0900
Message-ID: <20021217073827.GG21612@japan.ea.com> (raw)

Hi guys I have searched the archives, and am out of ideas. I am trying to
migrate a database that is EUC_JP encoded, and has large objects from 7.1
to 7.2.2.  I used pg_dump -Fc -b to dump the database, and then I used
pg_restore -d <database> <dump_file>, but it is dying mid import with the
following error:

pg_restore: NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index 'pk_announce_id' for table 'store_announce'
ERROR:  copy: line 4, Invalid EUC_JP character sequence found (0x927c)
FATAL 1:  Socket command type 1 unknown
pg_restore: [archiver (db)] error returned by PQputline


Anyone, with any clue here please let me know.  I will be eternally grateful. :)


--Matt



Message-ID: <20021217073827.GG21612@japan.ea.com>
Permalink:  ../20021217073827.GG21612@japan.ea.com/
Also on:    postgresql.org/message-id/20021217073827.GG21612@japan.ea.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: mdoughty@japan.ea.com
  Subject: Re: failed import
  In-Reply-To: <20021217073827.GG21612@japan.ea.com>
  References: <20021217073827.GG21612@japan.ea.com>

* 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