Re: Memory leak fix in psql

Поиск
Список
Период
Сортировка
От Japin Li
Тема Re: Memory leak fix in psql
Дата
Msg-id MEYP282MB1669190449BB93DB10C612B5B68F9@MEYP282MB1669.AUSP282.PROD.OUTLOOK.COM
обсуждение исходный текст
Ответ на Re: Memory leak fix in psql  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: Memory leak fix in psql  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On Tue, 19 Jul 2022 at 20:32, Michael Paquier <michael@paquier.xyz> wrote:
> On Tue, Jul 19, 2022 at 06:41:13PM +0800, Japin Li wrote:
>> After looking around, I found psql/describe.c also has some memory leaks,
>> attached a patch to fix these leaks.
>
> Indeed.  There are quite a bit of them, so let's fix all that.  You
> have missed a couple of code paths in objectDescription().

Thanks for reviewing. Attached fix the memory leak in objectDescription().
Please consider v2 for further review.

-- 
Regrads,
Japin Li.
ChengDu WenWu Information Technology Co.,Ltd.


Вложения

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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: [PATCH] Introduce array_shuffle() and array_sample()
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Windows now has fdatasync()