Re: Truncate Permission

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: Truncate Permission
Дата
Msg-id 20070611114920.GQ7531@tamriel.snowman.net
обсуждение исходный текст
Ответ на Re: Truncate Permission  ("Zeugswetter Andreas ADI SD" <ZeugswetterA@spardat.at>)
Ответы Re: Truncate Permission  ("Nicholas Barr" <nicky@chuckie.co.uk>)
Список pgsql-hackers
* Zeugswetter Andreas ADI SD (ZeugswetterA@spardat.at) wrote:
>
> > > Wouldn't it be far more logical to decide that if a user has the
> > > permissions to do a DELETE FROM table; then they have permission to
> do
> > > a TRUNCATE? Why make an additional permission?
> >
> > Truncate doesn't fire ON DELETE triggers.
>
> Yes, but it would imho be ok if there are'nt any on delete triggers on
> the table.

Nope, it doesn't follow MVCC rules properly either.  It really needs to
be a seperate permission.
Thanks,
    Stephen

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

Предыдущее
От: Timasmith
Дата:
Сообщение: one click install?
Следующее
От: Michael Meskes
Дата:
Сообщение: Re: ecpg leaves broken files around