Re: Delete rule does not prevent truncate

Поиск
Список
Период
Сортировка
От Joshua D. Drake
Тема Re: Delete rule does not prevent truncate
Дата
Msg-id 55AFB92C.6000107@commandprompt.com
обсуждение исходный текст
Ответ на Re: Delete rule does not prevent truncate  (Tim Smith <randomdev4+postgres@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Delete rule does not prevent truncate
Следующее
От: Geoff Winkless
Дата:
Сообщение: Re: Delete rule does not prevent truncate