Re: heap_lock_updated_tuple_rec can leak a buffer refcount

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема Re: heap_lock_updated_tuple_rec can leak a buffer refcount
Дата
Msg-id CAA4eK1JvyFx9wy_6UBCAcMi94nNtRZnk_1eenyvwex4Oy9dBzA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: heap_lock_updated_tuple_rec can leak a buffer refcount  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sat, Mar 3, 2018 at 3:26 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Alexander Kuzmenkov <a.kuzmenkov@postgrespro.ru> writes:
>> Looks like a leak indeed, the fix seems right.
>
>
> Hence, I propose the attached patch.  The test lobotomization
> (the "if (1) //" change) isn't meant for commit but shows how I tested
> the take-the-pin paths.  This passes make check-world with or without
> the lobotomization change.
>

Thanks for taking care of this.


-- 
With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: non-bulk inserts and tuple routing
Следующее
От: Andres Freund
Дата:
Сообщение: Re: non-bulk inserts and tuple routing