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