X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 86105537B2 for ; Fri, 25 Mar 2005 03:38:10 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 68377-06 for ; Fri, 25 Mar 2005 03:38:02 +0000 (GMT) Received: from vscan01.westnet.com.au (vscan01.westnet.com.au [203.10.1.131]) by svr1.postgresql.org (Postfix) with ESMTP id BDF1D537AD for ; Fri, 25 Mar 2005 03:38:00 +0000 (GMT) Received: from localhost (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with ESMTP id 35E1E14E212; Fri, 25 Mar 2005 11:37:23 +0800 (WST) Received: from vscan01.westnet.com.au ([127.0.0.1]) by localhost (vscan01.westnet.com.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 15212-15; Fri, 25 Mar 2005 11:37:23 +0800 (WST) Received: from [202.72.133.22] (dsl-202-72-133-22.wa.westnet.com.au [202.72.133.22]) by vscan01.westnet.com.au (Postfix) with ESMTP id CCE8E14E09C; Fri, 25 Mar 2005 11:37:22 +0800 (WST) Message-ID: <4243879B.10200@familyhealth.com.au> Date: Fri, 25 Mar 2005 11:38:03 +0800 From: Christopher Kings-Lynne User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tom Lane Cc: Karim Nassar , pgsql-performance@postgresql.org Subject: Re: Delete query takes exorbitant amount of time References: <1111709457.9085.127.camel@k2.cet.nau.edu> <2630.1111711927@sss.pgh.pa.us> <1111715131.9085.174.camel@k2.cet.nau.edu> <3750.1111715318@sss.pgh.pa.us> In-Reply-To: <3750.1111715318@sss.pgh.pa.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200503/533 X-Sequence-Number: 11238 > In that case there's a datatype mismatch between the referencing and > referenced columns, which prevents the index from being used for the > FK check. Is creating such a foreign key a WARNING yet? Chris