Re: Truncate Permission

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas ADI SD
Тема Re: Truncate Permission
Дата
Msg-id E1539E0ED7043848906A8FF995BDA57902240DB6@m0143.s-mxs.net
обсуждение исходный текст
Ответ на Re: Truncate Permission  (Heikki Linnakangas <heikki@enterprisedb.com>)
Ответы Re: Truncate Permission  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-hackers
> > 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.

Andreas


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

Предыдущее
От: ohp@pyrenet.fr
Дата:
Сообщение: Re: little PITR annoyance
Следующее
От: Timasmith
Дата:
Сообщение: one click install?