Re: 7.3.4 dump/restore error

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: thomas(at)chille(dot)de
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: 7.3.4 dump/restore error
Date: 2005-07-16 15:07:18
Message-ID: 25676.1121526438@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thomas Chille <thomas(dot)chille(at)gmail(dot)com> writes:
> I dumped from a 7.3.4 server on debian with kernel 2.6 using this command:
> pg_dump -F c -Z 9 -f backoffice.dmp.c backoffice
> I tried to restore on a similiar system using:
> pg_restore -vd backoffice backoffice.dmp.c
> and stepped into an error:
> ERROR: copy: line 270892, Missing data for column "id_tax"

Try asking pg_restore to dump to a text file (maybe dump just this one
table) and look at the data to see if you can tell what happened to it.
Note the line number is within the copy data, ie, the first data line
after the COPY command is line 1.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jiří Němec 2005-07-16 18:50:57 Re: PostgreSQL select
Previous Message Tom Lane 2005-07-16 15:01:34 Re: encoding and locale