minor suggestion about rule syntax

Lists: pgsql-hackers
From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>
Subject: minor suggestion about rule syntax
Date: 2003-11-04 17:02:51
Message-ID: Pine.LNX.4.58.0311041800590.10271@sablons.ensmp.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers


Hello folks,

I would like to suggest to add an ALSO keyword to the CREATE RULE
syntax, so as to allow :

CREATE RULE foo AS
ON DELETE TO bla
DO ALSO ...;

The semantics would not change wrt without this keyword, but it would make
it clearer that in this case the initial query is ALSO performed, as the
INSTEAD keywords which tells that it is not. I also think the syntax
would be more balanced with the keyword.

--
Fabien Coelho - coelho(at)cri(dot)ensmp(dot)fr