Re: [HACKERS] pg_dump not dumping all tables - Mailing list pgsql-hackers

From G. Anthony Reina
Subject Re: [HACKERS] pg_dump not dumping all tables
Date
Msg-id 379F89A5.B92D36FA@nsi.edu
Whole thread Raw
In response to pg_dump not dumping all tables  ("G. Anthony Reina" <reina@nsi.edu>)
List pgsql-hackers
Hannu Krosing wrote:

> If there is even one row dumped wrong the data for the whole table is
> not
> inserted ;(
>
> I've had this for row's containing \n (or maybe \r) that got dumped as
> real
> newline that screwed the whole COPY xxx FROM stdin.
> I resolved it by editing the dumpfile via visual inspection.
>
> Another thing to try would be to dump as proper insert strings (pg_dump
> -d)
> instead of copy from. It will be slow to load though ...
>

Hannu,
   Unfortunately, my dump file is 2 Gig and so I can't edit it easily. I
don't mind slowness as long as I have accuracy so I'll try the pg_dump -d.

Thanks.
-Tony




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] pg_dump not dumping all tables
Next
From: "G. Anthony Reina"
Date:
Subject: Re: [HACKERS] pg_dump not dumping all tables