| От | Heikki Linnakangas |
|---|---|
| Тема | Re: reindex creates predicate lock on index root |
| Дата | |
| Msg-id | 4DEF1372.3020603@enterprisedb.com обсуждение исходный текст |
| Ответ на | Re: reindex creates predicate lock on index root ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>) |
| Список | pgsql-hackers |
On 08.06.2011 06:37, Kevin Grittner wrote: > You're right; that one was a false alarm. While REINDEX was reading > the heap to build the index it got an SIREAD lock on a *heap* page. We never take locks on heap pages directly, so it must've been a promotion from heap tuple locks. > While that could arguably be avoided, even though the heap is being > read in a serializable transaction, I'm not inclined to get really > excited about it. If someone wants to dodge it, they can always run > the REINDEX in READ COMMITTED or REPEATABLE READ mode. Maybe 9.2 > material if there's nothing to do that matters more than that. That should be pretty easy to avoid, though. I think we should fix it now. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера