Re: DROP TABLE vs inheritance

Поиск
Список
Период
Сортировка
От Alex Hunsaker
Тема Re: DROP TABLE vs inheritance
Дата
Msg-id 34d269d40905121110ye0a3350kb25ea330c3e26334@mail.gmail.com
обсуждение исходный текст
Ответ на Re: DROP TABLE vs inheritance  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Mon, May 11, 2009 at 21:18, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> However, he can do that anyway via ALTER TABLE, which
> will happily take out AccessExclusiveLock before it checks any
> permissions.  So I'm not seeing the point of risking unsafe behavior
> in LOCK TABLE.

I would rather fix ALTER TABLE to do something similar to test and
test-and-set... From a quick look TRUNCATE also seems to be prone to
this.


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Implementation of GROUPING SETS (T431: Extended grouping capabilities)
Следующее
От: Alex Hunsaker
Дата:
Сообщение: Re: DROP TABLE vs inheritance