Re: Regarding TODO item "%Add a separate TRUNCATE

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Regarding TODO item "%Add a separate TRUNCATE
Дата
Msg-id 19648.1146073553@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Regarding TODO item "%Add a separate TRUNCATE  (Gevik Babakhani <pgdev@xs4all.nl>)
Ответы Re: Regarding TODO item "%Add a separate TRUNCATE  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-hackers
Gevik Babakhani <pgdev@xs4all.nl> writes:
> Would the privilege apply to the table depending on the table being
> truncated?  

I think the idea is to require TRUNCATE privilege on all the tables
being truncated in the command.  This would substitute for the existing
ownership check.

I do have a concern here, which is that GRANT ALL on a table didn't use
to convey TRUNCATE, but now it will.  However, since GRANT ALL does
confer the right to do "DELETE FROM tab", maybe this isn't an issue.
        regards, tom lane


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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: Regarding TODO item "%Add a separate TRUNCATE permission"
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Regarding TODO item "%Add a separate TRUNCATE permission"