From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "Martin Gregorie" <martin(at)gregorie(dot)org> |
Cc: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: BUG #4054: Text containing ';' upsets db restores |
Date: | 2008-03-24 22:20:07 |
Message-ID: | 3711.1206397207@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
"Martin Gregorie" <martin(at)gregorie(dot)org> writes:
> The errors were captured in the log file, which is safe from being
> overwritten. You're welcome to either the whole thing or to edited
> highlights from it.
That's probably fairly useless, but if you have the dump file it would
be interesting to look at that.
Are you sure that the errors aren't all attributable to a CREATE TABLE
statement failing and then the subsequent COPY command failing even to
start? Usually you need to look first at the first error, since a lot
of the subsequent ones could be cascading failures.
> 4) I was running psql with a -1 option which, rather
> to my surprise, didn't abort the run after the
> first error in the file.
psql doesn't have a -1 option, that's only for pg_restore. (I believe
pg_restore is a bit smarter about the failed-COPY case, as well.)
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Hugo Rafael Lesme Marquez | 2008-03-24 22:47:34 | BUG #4055: Using Like in PostgreSQL 8.2.7 and 8.3.1 |
Previous Message | Martin Gregorie | 2008-03-24 19:45:15 | BUG #4054: Text containing ';' upsets db restores |