Re: refresh materialized view concurrently

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: refresh materialized view concurrently
Дата
Msg-id 23761.1372879904@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: refresh materialized view concurrently  (Kevin Grittner <kgrittn@ymail.com>)
Ответы Re: refresh materialized view concurrently  (Kevin Grittner <kgrittn@ymail.com>)
Список pgsql-hackers
Kevin Grittner <kgrittn@ymail.com> writes:
> OK.� I had seen that no locks were held after the insert and wasn't
> aware that we acquired and then released them for each insert
> within a transaction.� On the other hand, we acquire locks on all
> indexes even for a HOT UPDATE which uses a seqscan, and hold those
> until end of transaction.� Is there a reason for that?

Sounds dubious to me; although in the HOT code it might be that there's
no convenient place to release the index locks.
        regards, tom lane



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

Предыдущее
От: Gavin Flower
Дата:
Сообщение: Re: Improvement of checkpoint IO scheduler for stable transaction responses
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: [9.4 CF 1] The Commitfest Slacker List