Received: from localhost (unknown [200.46.204.184]) by developer.postgresql.org (Postfix) with ESMTP id E60372E0040 for ; Thu, 3 Apr 2008 22:53:09 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 38178-07 for ; Thu, 3 Apr 2008 22:52:57 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from web54302.mail.re2.yahoo.com (web54302.mail.re2.yahoo.com [206.190.49.112]) by developer.postgresql.org (Postfix) with SMTP id 664E42E0038 for ; Thu, 3 Apr 2008 22:53:05 -0300 (ADT) Received: (qmail 57609 invoked by uid 60001); 4 Apr 2008 01:53:03 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=Cg6MvANbizCY8eonb5zVBCCN2qFP0BFaccD+3WMv+gqRtuxYg9D8WHVKL/iWM4V4lGBe3jNav+ZeQS/d/BJc7/hi5hl+gCn7eBe1Ud/ZreCK/VVlsJiWC6kKqx48mEfmXU1Eq7uhr8PeM5PD1IkNUYWPUMrNwJwJyOjStMTjdRI=; X-YMail-OSG: 6HcJe14VM1leT6KaCAvWmbOYxdF7GrjrVi__5T5TYMK33jtAYo2oqVN.8xqsZDhECZCGeEzuP9mkAq1q92hsfLrIe_moNJWAhNNcRAINBLE.IE7bLWeQAvtobw-- Received: from [70.231.70.207] by web54302.mail.re2.yahoo.com via HTTP; Thu, 03 Apr 2008 18:53:03 PDT Date: Thu, 3 Apr 2008 18:53:03 -0700 (PDT) From: chester c young Subject: Re: apparent RI bug To: Stephan Szabo Cc: sql pgsql In-Reply-To: <20080403132648.O21440@megazone.bigpanda.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <447857.57570.qm@web54302.mail.re2.yahoo.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200804/29 X-Sequence-Number: 30568 --- Stephan Szabo wrote: > > is it is possible, for example, a function without a body or > without a "return old". > > > > are you saying this would override the RI constraint? > > If it returned something that would have prevented the delete without > an error, yes. this is very good news that there is a reason why the RI did not work, which is to say, RI not working randomly is very frightening > > if so, is this by design? > > It's basically an ongoing question (without concensus AFAIK) about > whether > a rule or trigger should be allowed to stop the referential action > and > what should happen if it does. in my opinion the most important thing is that it's documented. btw, cheers! you're my hero of the week!! ____________________________________________________________________________________ You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost. http://tc.deals.yahoo.com/tc/blockbuster/text5.com