pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Steven Lane <stevelcmc@mindspring.com>
To: pgsql-admin@postgresql.org
Subject: Re: error status 139
Date: Mon, 23 Jul 2001 08:23:06 -0500
Message-ID: <v03007802b781d595cfa4@[65.15.153.184]> (raw)
In-Reply-To: <6901.995690204@sss.pgh.pa.us>
References: <Pine.LNX.4.33.0107201718230.29652-100000@visor.corp.nextbus.com>
	<Pine.LNX.4.33.0107201718230.29652-100000@visor.corp.nextbus.com>

Hello all:

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





view thread (7+ messages)  latest in thread

Message-ID: <v03007802b781d595cfa4@[65.15.153.184]>
Permalink:  ../v03007802b781d595cfa4@%5B65.15.153.184%5D/
Also on:    postgresql.org/message-id/v03007802b781d595cfa4@[65.15.153.184]

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: stevelcmc@mindspring.com
  Subject: Re: error status 139
  In-Reply-To: <v03007802b781d595cfa4@[65.15.153.184]>
  References: <Pine.LNX.4.33.0107201718230.29652-100000@visor.corp.nextbus.com> <v03007802b781d595cfa4@[65.15.153.184]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox