Received: from homer.providence.edu (homer.providence.edu [206.102.239.20]) by hub.org (8.9.3/8.9.3) with ESMTP id NAA40783 for ; Fri, 31 Mar 2000 13:05:49 -0500 (EST) (envelope-from echase@homer.providence.edu) Received: from baloo (pcwall.providence.edu [206.102.239.5]) by homer.providence.edu (8.9.3/8.9.3) with SMTP id NAA08793 for ; Fri, 31 Mar 2000 13:04:45 -0500 (EST) Message-Id: <3.0.6.32.20000331130507.0083c710@homer.providence.edu> X-Sender: echase@homer.providence.edu X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Fri, 31 Mar 2000 13:05:07 -0500 To: pgsql-admin@postgresql.org From: Edward Chase Subject: Re: COPY In-Reply-To: <8142BE56BFF7D311BC4E00B0D0219AF57787@mail.stryker.ca.1.67. 10.in-addr.arpa> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Archive-Number: 200003/5 Not knowing exactly what your doing and what psql is considering "bad", have you thought about pre-processing your files first and eliminating these bad records before importing them into your database? At 10:28 AM 3/31/2000 -0500, Ralf wrote: > >Hello, > > I think I asked this question before but will try again. >I deal a lot with importing text files into my psql database and >quite often there are bad records in those files. 'COPY' will >abort the process whenever it encounters bad data. Is there any >way to make 'COPY' skip bad records and continue with the import >process rather than abort the entire thing? > >Thanks in advance. --------------------------------------------------------------- Edward F. Chase III | echase@providence.edu Providence College | http://www.providence.edu Computer Services | http://studentweb.providence.edu Providence, RI 02918 |