Re: [HACKERS] disallow LOCK on a view - the Tom Lane remix

Поиск
Список
Период
Сортировка
От Alfred Perlstein
Тема Re: [HACKERS] disallow LOCK on a view - the Tom Lane remix
Дата
Msg-id 20000829114659.Z18862@fw.wintelcom.net
обсуждение исходный текст
Ответ на disallow LOCK on a view - the Tom Lane remix  (Mark Hollomon <mhh@mindspring.com>)
Список pgsql-patches
* Mark Hollomon <mhh@mindspring.com> [000829 11:26] wrote:
> Here is a patch against CVS (without my earlier patch)
> to disallow
>
> LOCK x
>
> if x is a view.
>
> It does not use the SPI interface.

Waitasec, why??  This can be very useful if you want to atomically lock
something that sits "in front" of several other tables that you need to
do something atomically with.

Does it cause corruption if allowed?

thanks,
-Alfred

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Important 7.0.* fix to ensure buffers are released
Следующее
От: Alfred Perlstein
Дата:
Сообщение: Re: [HACKERS] disallow LOCK on a view - the Tom Lane remix