Re: Autovacuum cancellation

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Autovacuum cancellation
Дата
Msg-id 20071026011102.GO23566@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Autovacuum cancellation  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Tom Lane wrote:
> Gregory Stark <stark@enterprisedb.com> writes:

> > I think there's a window where the process waiting directly on
> > autovacuum could have already fired its deadlock check before it was
> > waiting directly on autovacuum.
>
> I think you don't understand what that code is doing.  If there's an
> autovac anywhere in the dependency graph, it'll find it.

Thanks for making that explicit, I was trying to build a test case where
it would lock :-)

(If we had concurrent psql we could even have it in the regression tests
...)

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Autovacuum cancellation
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [GENERAL] Crosstab Problems