Re: Re: Good name for new lock type for VACUUM?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Re: Good name for new lock type for VACUUM?
Дата
Msg-id 1985.993168614@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Good name for new lock type for VACUUM?  (Thomas Swan <tswan@olemiss.edu>)
Список pgsql-hackers
Thomas Swan <tswan@olemiss.edu> writes:
> I think that type of lock would best be kept to the system level.  

Why?

I don't have a scenario offhand where it'd be useful, but if we've
discovered it's useful for VACUUM then there may be cases where a lock
with these properties would be useful to users as well.  Besides, we
have several lock types that are exposed to users even though we've
found no uses for them at the system level.

> Is it going to timeout?  If a connection is dropped by a user, will the 
> lock release?

No, and yes, same as any other lock.
        regards, tom lane


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

Предыдущее
От: Thomas Swan
Дата:
Сообщение: Re: Good name for new lock type for VACUUM?
Следующее
От: darcy@druid.net (D'Arcy J.M. Cain)
Дата:
Сообщение: Re: COPY vs. INSERT