pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Herb Blacker <herbblacker@isgenesis.com>
To: pgsql-general@postgresql.org
Subject: Error Message
Date: Thu, 11 Apr 2002 08:46:59 -0500
Message-ID: <3CB593D3.7050602@isgenesis.com> (raw)

Is there a way to more explicitly define where a Referential Integrity 
error occurs in a COPY (bulk load) command?
If the error is about a duplicate key value, then COPY gives me the 
exact line number.
However, if there is an error due to RI, then a general statement is 
issued, and I'm forced to look through
a 9,000 line table for the FK value that doesn't occur in the main table.

Running 7.1.3...and have no intention for the moment of upgrading, this 
version is rock solid for me.

Any ideas?

TIA
_________________________
Herb Blacker
Database Administrator
ReCare, Inc.
(512) 791-4340
herbblacker@isgenesis.com




view thread (20+ messages)  latest in thread

Message-ID: <3CB593D3.7050602@isgenesis.com>
Permalink:  ../3CB593D3.7050602@isgenesis.com/
Also on:    postgresql.org/message-id/3CB593D3.7050602@isgenesis.com

 · 

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-general@postgresql.org
  Cc: herbblacker@isgenesis.com
  Subject: Re: Error Message
  In-Reply-To: <3CB593D3.7050602@isgenesis.com>
  References: <3CB593D3.7050602@isgenesis.com>

* 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