Re: [Retrieved]RE: backup and recovery - Mailing list pgsql-admin

From Bruce Momjian
Subject Re: [Retrieved]RE: backup and recovery
Date
Msg-id 200403242307.i2ON7bD26576@candle.pha.pa.us
Whole thread Raw
In response to Re: [Retrieved]RE: backup and recovery  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [Retrieved]RE: backup and recovery
Torn pages Detection in SQL SERVER
List pgsql-admin
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Added to TODO:
> >     * Have pg_dump use multi-statement transactions for INSERT dumps
>
> > For simple performance reasons, it would be good.  I am not sure about
> > allowing errors to continue loading.   Anyone else?
>
> Of course, anyone who actually cares about reload speed shouldn't be
> using INSERT-style dumps anyway ... I'm not sure why we should expend
> effort on that rather than just telling people to use the COPY mode.

My bigger issue is that COPY will fail on a single row failure, and
nothing will be in the table, while INSERT will not.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-admin by date:

Previous
From: Naomi Walker
Date:
Subject: Re: [Retrieved]RE: backup and recovery
Next
From: Tom Lane
Date:
Subject: Re: [Retrieved]RE: backup and recovery