Re: Regarding TODO item "%Add a separate TRUNCATE permission"
| От | Stephen Frost |
|---|---|
| Тема | Re: Regarding TODO item "%Add a separate TRUNCATE permission" |
| Дата | |
| Msg-id | 20060426182316.GR4474@ns.snowman.net обсуждение исходный текст |
| Ответ на | Re: Regarding TODO item "%Add a separate TRUNCATE permission" (Alvaro Herrera <alvherre@commandprompt.com>) |
| Ответы |
Re: Regarding TODO item "%Add a separate TRUNCATE permission"
Re: Regarding TODO item "%Add a separate TRUNCATE permission" |
| Список | pgsql-hackers |
* Alvaro Herrera (alvherre@commandprompt.com) wrote:
> Stephen Frost wrote:
>
> > > The question that really ought to be answered before doing any of this
> > > is why DELETE privilege shouldn't be sufficient to allow TRUNCATE.
> >
> > TRUNCATE doesn't follow MVCC...
>
> We can certainly talk about fixing that. (And CLUSTER at the same time,
> I think.)
The issue is that it seems to be intractable to retain MVCC-ness *and*
provide the performance savings TRUNCATE gives. If you can solve that
problem then we could get rid of TRUNCATE and implement
DELETE-without-WHERE using that magic.
Thanks,
Stephen
В списке pgsql-hackers по дате отправления: