| От | 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
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера