Re: Triggers on TRUNCATE?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Triggers on TRUNCATE?
Дата
Msg-id 18597.1090896605@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Triggers on TRUNCATE?  (Hannu Krosing <hannu@tm.ee>)
Список pgsql-hackers
Hannu Krosing <hannu@tm.ee> writes:
> Btw, does the right to TRUNCATE come with GRANT DELETE, or must one be a
> superuser to TRUNCATE ?

You have to own the table (or be superuser of course).  This implies the
right to drop its triggers, so TRUNCATE could be seen as dropping
triggers, DELETE, recreate triggers.
        regards, tom lane


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

Предыдущее
От: Rod Taylor
Дата:
Сообщение: Re: cvsweb upgraded
Следующее
От: Daniel Baldoni
Дата:
Сообщение: Re: Triggers on TRUNCATE?