Re: We need to log aborted autovacuums

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: We need to log aborted autovacuums
Дата
Msg-id AANLkTi=t_ay3Rq3LQW=N8VH9Tuj_npSufe88zLLChaaY@mail.gmail.com
обсуждение исходный текст
Ответ на Re: We need to log aborted autovacuums  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: We need to log aborted autovacuums  (Greg Smith <greg@2ndquadrant.com>)
Список pgsql-hackers
On Sat, Jan 15, 2011 at 11:14 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Greg Smith <greg@2ndquadrant.com> writes:
>> Does try_relation_open need to have a lock acquisition timeout when AV
>> is calling it?
>
> Hmm.  I think when looking at the AV code, I've always subconsciously
> assumed that try_relation_open would fail immediately if it couldn't get
> the lock.  That certainly seems like it would be a more appropriate way
> to behave than delaying indefinitely.

I'm confused how that's not happening already. What does "try" mean, otherwise?

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: LOCK for non-tables
Следующее
От: Robert Haas
Дата:
Сообщение: Re: ALTER TYPE 0: Introduction; test cases