From: chester c young <chestercyoung@yahoo.com>
To: Stephan Szabo <sszabo@megazone.bigpanda.com>
Cc: sql pgsql <pgsql-sql@postgresql.org>
Subject: Re: apparent RI bug
Date: Thu, 3 Apr 2008 18:53:03 -0700 (PDT)
Message-ID: <447857.57570.qm@web54302.mail.re2.yahoo.com> (raw)
In-Reply-To: <20080403132648.O21440@megazone.bigpanda.com>
--- Stephan Szabo <sszabo@megazone.bigpanda.com> 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
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: chestercyoung@yahoo.com, sszabo@megazone.bigpanda.com
Subject: Re: apparent RI bug
In-Reply-To: <447857.57570.qm@web54302.mail.re2.yahoo.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