| От | Tom Lane |
|---|---|
| Тема | Re: Ctid chain following enhancement |
| Дата | |
| Msg-id | 23118.1169932631@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Ctid chain following enhancement ("Pavan Deolasee" <pavan.deolasee@gmail.com>) |
| Ответы |
Re: Ctid chain following enhancement
|
| Список | pgsql-patches |
"Pavan Deolasee" <pavan.deolasee@gmail.com> writes:
> On 1/27/07, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> It looks to me that you have introduced a buffer leak into
>> heap_get_latest_tid ...
> I can't spot that.
No, you're right, my apologies. I was thinking that the patch ought to
introduce an UnlockReleaseBuffer after the loop, but that's not
necessary given the calls before all the breaks. (OTOH it might be
cleaner to refactor things that way, if we were going to apply this.
I still don't think heap_get_latest_tid is worth any optimization
effort, though.)
regards, tom lane
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера