From: Jan Norman Pedersen <jan@multimediasyd.dk>
To: pgsql-sql@postgresql.org
Subject: Re: rules
Date: Fri, 25 Jun 2004 09:16:58 +0200
Message-ID: <40dbd135$0$223$edfadb0f@dread11.news.tele.dk> (raw)
References: <E7E213858379814A9AE48CA6754F5ECB1E1FC8@mail01.stbernard.com>
<20040519104830.J85664@megazone.bigpanda.com>
Anslag
"Stephan Szabo" <sszabo@megazone.bigpanda.com> wrote in message
news:20040519104830.J85664@megazone.bigpanda.com...
> On Wed, 19 May 2004, Jie Liang wrote:
>
> > According to the document of rule:
> >
> > CREATE RULE rulename AS ON delete TO mytablename DO
> > (
> > delete from aaa where id=OLD.id;
> > Delete from bbb where id=OLD.id;
> > Delete from ccc where id=OLD.id
> > );
> >
> >
> > Should work, but it doesn't, what wrong with it?
>
> What is it doing and what version is this on?
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
>
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: jan@multimediasyd.dk
Subject: Re: rules
In-Reply-To: <40dbd135$0$223$edfadb0f@dread11.news.tele.dk>
* 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