Re: deadlock while re-indexing table

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: deadlock while re-indexing table
Дата
Msg-id 20080212154502.GM14683@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: deadlock while re-indexing table  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: deadlock while re-indexing table
Список pgsql-general
Tom Lane wrote:
> Alvaro Herrera <alvherre@commandprompt.com> writes:

> > I don't find this very surprising ... I would suggest using "reindex
> > index" for each index instead.  I'm not sure if REINDEX TABLE is
> > supposed to be deadlock-free.
>
> It's not guaranteed to be so, but I'd think simple cases would be
> okay.

Can we rework REINDEX TABLE so that it processes each index on its own
transaction?

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

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Some Autovacuum Questions
Следующее
От: Tom Lane
Дата:
Сообщение: Re: deadlock while re-indexing table