pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephan Szabo <sszabo@megazone23.bigpanda.com>
To: Otakar Kleps <kleps@avonet.cz>
Cc: pgsql-sql@postgresql.org
Subject: Re: Help with RULE
Date: Thu, 15 Nov 2001 07:07:47 -0800 (PST)
Message-ID: <20011115070711.Y7025-100000@megazone23.bigpanda.com> (raw)
In-Reply-To: <3BF0D9CA.7050807@avonet.cz>

On Tue, 13 Nov 2001, Otakar Kleps wrote:

> On Postgres 7.1.3(SUSE Linux 7.0 - 2.2.16) I have this problem:
>
> I have table, for example:
>
> CREATE TABLE tbl_test(
> id INTEGERE PRIMARY KEY,
> ...
> _parent INTEGER REFERENCES tbl_test ON DELETE CASCADE,
> ...
> )
>
> Next, I create rule for table tbl_test on event ON DELETE:
> CREATE RULE rule_test AS ON DELETE TO tbl_test DO INSERT INTO ...;
>
> Why RULE doesn't DELETE recursive(for a consideration REFERANCES)!?

I'm running 7.2b2 but I don't see that behavior, can you give a full
test set?




view thread (3+ messages)  latest in thread

Message-ID: <20011115070711.Y7025-100000@megazone23.bigpanda.com>
Permalink:  ../20011115070711.Y7025-100000@megazone23.bigpanda.com/
Also on:    postgresql.org/message-id/20011115070711.Y7025-100000@megazone23.bigpanda.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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: sszabo@megazone23.bigpanda.com, kleps@avonet.cz
  Subject: Re: Help with RULE
  In-Reply-To: <20011115070711.Y7025-100000@megazone23.bigpanda.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