Received: from ecint.ecinet.com (smtp.eldocomp.com [205.159.99.3]) by postgresql.org (8.11.3/8.11.4) with ESMTP id g1BGetE14745 for ; Mon, 11 Feb 2002 11:40:56 -0500 (EST) (envelope-from nwalker@eldocomp.com) Received: from nwalke (nwalker.ecinet.com [192.168.22.250]) by ecint.ecinet.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id 1W86LAWJ; Mon, 11 Feb 2002 09:46:33 -0700 Message-Id: <4.2.2.20020211094333.00acad70@ecint.ecinet.com> X-Sender: nwalke@ecint.ecinet.com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.2 Date: Mon, 11 Feb 2002 09:46:11 -0700 To: Tom Lane , Bruce Momjian From: Naomi Walker Subject: Re: restore woes Cc: Simone Tellini , pgsql-admin@postgresql.org In-Reply-To: <7010.1013443371@sss.pgh.pa.us> References: <200202111531.g1BFVfv11628@candle.pha.pa.us> <200202111531.g1BFVfv11628@candle.pha.pa.us> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Archive-Number: 200202/115 X-Sequence-Number: 3274 > > >Adding options to the COPY command is no help either, because the COPY >may be embedded in a multi-gigabyte dump file that you can't edit >conveniently. (And what of pg_restore, or other applications that >generate COPY commands?) My approach of using a GUC variable is better >because it can be set from outside the dump script --- in >postgresql.conf, if necessary. Speaking of COPY, is there a way to tell copy not to barf on errors (and set how many errors are acceptable)? Can I tell copy to commit every X rows? -- Naomi Walker Chief Information Officer Eldorado Computing, Inc. 602-604-3100 ext 242