| От | Tom Lane |
|---|---|
| Тема | Re: Reducing some DDL Locks to ShareLock |
| Дата | |
| Msg-id | 24343.1227038676@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Reducing some DDL Locks to ShareLock (Simon Riggs <simon@2ndQuadrant.com>) |
| Ответы |
Re: Reducing some DDL Locks to ShareLock
|
| Список | pgsql-hackers |
Simon Riggs <simon@2ndQuadrant.com> writes:
> heap_inplace_fetch takes as input "tuple" which is a palloc'd tuple,
> extracts from it the tid of the tuple, reads the buffer, locks it, then
> releases the original tuple. It then returns a copy of the on-block
> tuple. So all other code the same as before when we were working on a
> copy produced from the syscache.
> Is that roughly what you intended?
I'd suggest making it take a TID rather than presuming where the caller
is going to get the TID from. Otherwise, +1.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера