RE: AW: timeout on lock feature

Поиск
Список
Период
Сортировка
От Mikheev, Vadim
Тема RE: AW: timeout on lock feature
Дата
Msg-id 8F4C99C66D04D4118F580090272A7A234D33AB@sectorbase1.sectorbase.com
обсуждение исходный текст
Ответ на AW: timeout on lock feature  (Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at>)
Список pgsql-hackers
> > Added to TODO:
> >     * Add SET parameter to timeout if waiting for lock too long
> 
> I repeat my strong objection to any global (ie, affecting all locks)
> timeout.  Such a "feature" will have unpleasant consequences.

But LOCK TABLE T IN ROW EXCLUSIVE MODE WITH TIMEOUT X will not give
required results not only due to parser/planner locks - what if
UPDATE T will have to wait for other transactions commit/abort
(same row update)? Lock on pseudo-table is acquired in this case...

Vadim


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

Предыдущее
От: Thomas Lockhart
Дата:
Сообщение: Re: Re: No printable 7.1 docs?
Следующее
От: Mario Weilguni
Дата:
Сообщение: Strange behaviour of to_date()