Received: from mail.fmpro.com ([209.242.196.81]) by postgresql.org (8.11.3/8.11.1) with SMTP id f6NDOxf50800 for ; Mon, 23 Jul 2001 09:24:59 -0400 (EDT) (envelope-from stevelcmc@mindspring.com) Received: from [65.15.153.184] ([65.15.153.184] verified) by mail.fmpro.com (Stalker SMTP Server 1.7) with ESMTP id S.0000245256 for ; Mon, 23 Jul 2001 08:20:37 +0000 X-Sender: stevelcmc@mindspring.com (Unverified) Message-Id: In-Reply-To: <6901.995690204@sss.pgh.pa.us> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Mon, 23 Jul 2001 08:24:56 -0500 To: pgsql-admin@postgresql.org From: Steven Lane Subject: Better copy/import X-Archive-Number: 200107/129 X-Sequence-Number: 1887 Hello all: Sorry for the bad subject line on the last version of this post. I'm trying to load about 10M rows of data into a simple postgres table. The data is straightforward and fairly clean, but does have glitches every few tens of thousands of rows. My problem is that when COPY hits a bad row it just aborts, leaving me to go back, delete or clean up the row and try again. Is there any way to import records that could just skip the bad ones and notify me which ones they are? Loading this much data is pretty time-consuming, especially when I keep having to repeat it to find each new bad row. Is there a better way? -- sgl