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