minor suggestion about rule syntax

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
Thread:
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

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2003-11-04 17:06:33 Re: [PATCHES] equal() perf tweak
Previous Message Tom Lane 2003-11-04 16:49:03 Re: Experimental patch for inter-page delay in VACUUM