From: Sergey Bondarenko <sbon@scelto.ts.kiev.ua>
To: pgsql-sql@postgresql.org
Subject: RE: [SQL] 2 Aktions in a Rule
Date: Tue, 05 Oct 1999 13:31:04 +0300 (EEST)
Message-ID: <XFMail.991005133104.sbon@relc.com> (raw)
In-Reply-To: <99100510500800.05539@pinguin>
I have the same problem. Dox says that multiple actions are permitted
on a single rule. But it won't work. I do not know why.
On 05-Oct-99 Florian Makesch wrote:
> Hello,
> I hope someone can help me. I Want 2 Aktions executeed in a Rule like:
> CREATE RULE auftraege_neu_delete AS ON delete
> TO auftraege_neu DO
> (DELETE FROM auftraege_neu_positionen
> WHERE auftraege_neu_positionen.auftragsnr = OLD.auftragsnr;
> DELETE FROM auftraege_neu_zubehoer
> WHERE auftraege_neu_zubehoer.auftragsnr = OLD.auftragsnr;);
> but I get a Parser Error:
> ERROR: parser: parse error at or near ""
> This is in PostgreSQL 6.5.2
>
> Has anyone the correct syntax?
>
> regards
> Florian
>
>
> ************
Sergey Bondarenko
Relcom-Ukraine system administrator
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: sbon@scelto.ts.kiev.ua
Subject: Re: [SQL] 2 Aktions in a Rule
In-Reply-To: <XFMail.991005133104.sbon@relc.com>
References: <99100510500800.05539@pinguin> <XFMail.991005133104.sbon@relc.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