Re: Potential GIN vacuum bug

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Potential GIN vacuum bug
Дата
Msg-id 20150817220221.GE5232@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: Potential GIN vacuum bug  (Jeff Janes <jeff.janes@gmail.com>)
Ответы Re: Potential GIN vacuum bug  (Jeff Janes <jeff.janes@gmail.com>)
Список pgsql-hackers
Jeff Janes wrote:

> The attached patch takes a ShareUpdateExclusiveLock lock on the index in
> order to clean the pending list.

Does it take a lock on the table also?  Because if not ...

> One potential problem is how it will interact with "create index
> concurrently".

... then I don't understand how you could have a problem here.  Surely
no pending list cleanup can happen concurrently with the index being
created?

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: [patch] psql tab completion for grant execute
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: checkpointer continuous flushing