Re: Must be owner to truncate?

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: Must be owner to truncate?
Дата
Msg-id 20050708130741.GP24207@ns.snowman.net
обсуждение исходный текст
Ответ на Re: Must be owner to truncate?  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Ответы Re: Must be owner to truncate?  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Список pgsql-hackers
* Christopher Kings-Lynne (chriskl@familyhealth.com.au) wrote:
> >There are other reasons for restricting it:
> > * truncate takes a much stronger lock than a plain delete does.
> > * truncate is not MVCC-safe.
> >
> >I don't really agree with the viewpoint that truncate is just a quick
> >DELETE, and so I do not agree that DELETE permissions should be enough
> >to let you do a TRUNCATE.
>
> Ah.  I didn't realise that 2nd point.  I don't care so much about the
> stronger lock in my application.

Does truncate not being MVCC-safe cause problems in your situation?  It
certainly doesn't in mine and I expect the same is true for alot of
others in the same situation.
Thanks,
    Stephen

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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: Must be owner to truncate?
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: Must be owner to truncate?