Re: Truncate Triggers

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Truncate Triggers
Дата
Msg-id 3602.1201287650@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Truncate Triggers  (Simon Riggs <simon@2ndquadrant.com>)
Ответы Re: Truncate Triggers  (Stephen Frost <sfrost@snowman.net>)
Re: Truncate Triggers  (Simon Riggs <simon@2ndquadrant.com>)
Список pgsql-hackers
Simon Riggs <simon@2ndquadrant.com> writes:
> On Fri, 2008-01-25 at 10:44 -0500, Tom Lane wrote:
>> There are way too many table privilege bits already; to add more you
>> need something a lot stronger than a "might be nice" argument.

> People use TRUNCATE whatever we say. If you force people to be table
> owners or superusers you merely restrict their security options.

By that argument you could justify a separate privilege bit for anything
at all, eg, each sub-variant of ALTER TABLE.  Please present an actual
argument why TRUNCATE should get its own bit.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Proposal: Integrity check
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: Truncate Triggers