| От | Tom Lane |
|---|---|
| Тема | Re: concurrent index builds unneeded lock? |
| Дата | |
| Msg-id | 9403.1247285551@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | concurrent index builds unneeded lock? (Theo Schlossnagle <jesus@omniti.com>) |
| Ответы |
Re: concurrent index builds unneeded lock?
|
| Список | pgsql-hackers |
Theo Schlossnagle <jesus@omniti.com> writes:
> I would think it would be txns that would be reading that table, but
> I'm thinking it is a bit to aggressive. Am I reading the code wrong
> there? I'm thinking it should be more selective about vxids it
> chooses to block on. I'd expect it to block on vxids touching the
> same table only.
There is no way to know whether a currently active vxid will try to look
at the other table later. We can not just ignore this case...
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера