Re: Deprecating RULES - Mailing list pgsql-hackers

From Joshua D. Drake
Subject Re: Deprecating RULES
Date
Msg-id 507EE4A5.4080307@commandprompt.com
Whole thread Raw
In response to Re: Deprecating RULES  (Simon Riggs <simon@2ndQuadrant.com>)
Responses Re: Deprecating RULES  (Simon Riggs <simon@2ndQuadrant.com>)
Re: Deprecating RULES  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
On 10/17/2012 02:48 AM, Simon Riggs wrote:

> Would you or someone else be able to come up with some words of
> caution for us to put in the manual that would be helpful to
> developers?
>
> There isn't even a list of caveats for rules.

I think we need the inverse. Some documentation on why to use rules and 
this basically boils down to the problem. Can anyone tell me a reason to 
use explicit rules over a trigger and function combination?

And that is the crux of the issue. If we can't identify a reason the 
feature currently exists and we have a suitable and better replacement, 
the feature should be deprecated and removed.

My suggestion for docs is:

Note: Do not use, use Triggers with Functions instead <link>

Sincerely,

Joshua D. Drake



-- 
Command Prompt, Inc. - http://www.commandprompt.com/
PostgreSQL Support, Training, Professional Services and Development
High Availability, Oracle Conversion, Postgres-XC
@cmdpromptinc - 509-416-6579



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: embedded list
Next
From: Simon Riggs
Date:
Subject: Re: Deprecating RULES