Re: truncating table permissions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: truncating table permissions
Дата
Msg-id 14190.1109998939@sss.pgh.pa.us
обсуждение исходный текст
Ответ на truncating table permissions  ("Lynwood Stewart" <lynwood@nwlink.com>)
Список pgsql-sql
"Lynwood Stewart" <lynwood@nwlink.com> writes:
> I was expecting "truncate table <tablename>" to truncate a table if I had 
> delete permissions.  This does not appear to be the case.

No, TRUNCATE is restricted to the table's owner, regardless of any
grantable permissions.

This was (ahem) inadequately documented until very recently.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: date - date returns integer?
Следующее
От: Thomas Mueller
Дата:
Сообщение: Re: Simple delete takes hours