Re: Delete rule does not prevent truncate

Поиск
Список
Период
Сортировка
От Tim Smith
Тема Re: Delete rule does not prevent truncate
Дата
Msg-id CA+HuS5FeH1KoyRpG29Avn=mAXZjFEj+CmrFyNM=kmkEG9LbwbQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Delete rule does not prevent truncate  (Geoff Winkless <pgsqladmin@geoff.dj>)
Ответы Re: Delete rule does not prevent truncate  (Guillaume Lelarge <guillaume@lelarge.info>)
Re: Delete rule does not prevent truncate  (Andrew Sullivan <ajs@crankycanuck.ca>)
Список pgsql-general
So tell me guys, instead of bashing away at the fact I only quoted
half a sentence or whatever, how about you answer the following :

What exactly is was the design decision that lead to TRUNCATE being
supported by triggers but not by rules ?

I suspect that TRUNCATE was added to triggers because some dev thought
it would be a neat idea, and it was never implemented in rules as a
result of an accidental omission for <whatever reason> rather than a
deliberate design constraint.


В списке pgsql-general по дате отправления:

Предыдущее
От: Dean Rasheed
Дата:
Сообщение: Re: [9.5] next question: rls and indexes
Следующее
От: Guillaume Lelarge
Дата:
Сообщение: Re: Delete rule does not prevent truncate