pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Paul Warner <paulwwarner@yahoo.com>
To: pgsql-admin@postgresql.org
Cc: dtsai@mit.edu
Cc: ashrafi@mit.edu
Subject: pg_dump and restore problem (7.0.? to 7.2) more info
Date: Wed, 19 Jun 2002 07:55:03 -0700 (PDT)
Message-ID: <20020619145503.882.qmail@web11905.mail.yahoo.com> (raw)
In-Reply-To: <3D109053.F8CFEBEB@dibinst.mit.edu>

Hello again,

I have some additional information that points to an
encoding problem.  I pulled the COPY sql from the dump
file for the table that didn't get inserted properly
and tried to run just that section (with psql -f).  I
got this error:

 psql -f bibent_data.sql HRS        
psql:bibent_data.sql:1: ERROR:  copy: line 15, Invalid
UNICODE character sequence found (0xc876)
psql:bibent_data.sql:1: lost synchronization with
server, resetting connection

I'm running on FreeBSD 4.5.  Is there a way I need to
recode the file before running it?

Thanks,
Paul Warner


--- Paul Warner <pwarner@dibinst.mit.edu> wrote:
> Hello,
> 
> I've looked for this in the books and archives and
> haven't been able to find an answer.
> 
> I did a pg_dump on an older postgres database (I
> believe it's 7.0.something), and restored to 7.2.1
> with multibyte capability.  The old db is not
> multibyte.  What's happened is that there are a
> significant number of rows in the dump file that are
> not getting loaded into the new database. The tables
> are getting there, but not the data.
> 
> I notice that there are triggers added in 7.2 that
> don't appear in the earlier version (as in:
> Triggers:
> RI_ConstraintTrigger_1663276).  I don't know if this
> is related, but it is true that all the 952 messages
> related to a certain topic didn't make it into one
> table.
> 
> This strikes me as a version issue related to
> integrity constraints, but could it be related to
> the
> change to multibyte?
> 
> I'm working on FreeBSD 4.5, with aolserver and
> openacs
> 3.2.4.
> 
> Thanks very much for your help!
> 
> Paul Warner
> 
> 
> 
> ---------------------------(end of
> broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to
> majordomo@postgresql.org
> 
> 
> 


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com



Message-ID: <20020619145503.882.qmail@web11905.mail.yahoo.com>
Permalink:  ../20020619145503.882.qmail@web11905.mail.yahoo.com/
Also on:    postgresql.org/message-id/20020619145503.882.qmail@web11905.mail.yahoo.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: paulwwarner@yahoo.com, dtsai@mit.edu, ashrafi@mit.edu
  Subject: Re: pg_dump and restore problem (7.0.? to 7.2) more info
  In-Reply-To: <20020619145503.882.qmail@web11905.mail.yahoo.com>
  References: <3D109053.F8CFEBEB@dibinst.mit.edu> <20020619145503.882.qmail@web11905.mail.yahoo.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