Received: from isgenesis.com (rrcs-sw-24-242-139-162.biz.rr.com [24.242.139.162]) by postgresql.org (Postfix) with ESMTP id 030B0476801 for ; Thu, 11 Apr 2002 09:46:49 -0400 (EDT) Received: from isgenesis.com (hhb.isgenesis.com [192.168.2.54]) by isgenesis.com (8.11.6/8.11.2) with ESMTP id g3BDkxU25259 for ; Thu, 11 Apr 2002 08:46:59 -0500 Message-ID: <3CB593D3.7050602@isgenesis.com> Date: Thu, 11 Apr 2002 08:46:59 -0500 From: Herb Blacker Organization: ReCare, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010726 Netscape6/6.1 X-Accept-Language: en-us MIME-Version: 1.0 To: pgsql-general@postgresql.org Subject: Error Message Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Archive-Number: 200204/443 X-Sequence-Number: 23159 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