X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 541BDD1ECA8 for ; Wed, 24 Mar 2004 23:07:45 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 43937-10 for ; Wed, 24 Mar 2004 19:07:45 -0400 (AST) Received: from candle.pha.pa.us (candle.pha.pa.us [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id 10CEFD1ECAF for ; Wed, 24 Mar 2004 19:07:42 -0400 (AST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id i2ON7bD26576; Wed, 24 Mar 2004 18:07:37 -0500 (EST) From: Bruce Momjian Message-Id: <200403242307.i2ON7bD26576@candle.pha.pa.us> Subject: Re: [Retrieved]RE: backup and recovery In-Reply-To: <2347.1080168874@sss.pgh.pa.us> To: Tom Lane Date: Wed, 24 Mar 2004 18:07:37 -0500 (EST) Cc: Tsirkin Evgeny , Naomi Walker , "Mark M. Huber" , "pgsql-admin@postgresql.org" X-Mailer: ELM [version 2.4ME+ PL108 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200403/322 X-Sequence-Number: 12891 Tom Lane wrote: > Bruce Momjian 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