Thread: 7.3.4 dump/restore error

7.3.4 dump/restore error

From
Thomas Chille
Date:
Hi!

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"
..
FATAL:  Socket command type 3 unknown

more detailed messages are attached.


could somebody help me please fixing this problem?

thanks in advance
thomas

Re: 7.3.4 dump/restore error

From
Thomas Chille
Date:
i forgot to attach the error messages. but now!

t

On 7/16/05, Thomas Chille <thomas.chille@gmail.com> wrote:
> Hi!
>
> 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"
> ..
> FATAL:  Socket command type 3 unknown
>
> more detailed messages are attached.
>
>
> could somebody help me please fixing this problem?
>
> thanks in advance
> thomas
>

Attachment

Re: 7.3.4 dump/restore error

From
Tom Lane
Date:
Thomas Chille <thomas.chille@gmail.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