Re: Delete rule does not prevent truncate - Mailing list pgsql-general

From Joshua D. Drake
Subject Re: Delete rule does not prevent truncate
Date
Msg-id 55AFB92C.6000107@commandprompt.com
Whole thread Raw
In response to Re: Delete rule does not prevent truncate  (Tim Smith <randomdev4+postgres@gmail.com>)
List pgsql-general
On 07/22/2015 06:24 AM, Tim Smith wrote:
>
> Adrian,
>
> It still doesn't make much sense, especially as given the rather
> obscure and questionable design decision of allowing triggers to refer
> to truncate ops, but not allowing rules to refer to truncate ops !!!

Actually it makes perfect sense because rules are a feature for
compatibility (at this point) more than anything else. They are slower
than triggers, less flexible and widely considered something you only
use in very rare circumstances.

That and of course, patches are accepted if you feel it is a feature
worth having.

JD




--
Command Prompt, Inc. - http://www.commandprompt.com/  503-667-4564
PostgreSQL Centered full stack support, consulting and development.
Announcing "I'm offended" is basically telling the world you can't
control your own emotions, so everyone else should do it for you.


pgsql-general by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: Delete rule does not prevent truncate
Next
From: Geoff Winkless
Date:
Subject: Re: Delete rule does not prevent truncate