Re: [bug fix] Memory leak in dblink

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема Re: [bug fix] Memory leak in dblink
Дата
Msg-id CAA4eK1J=S3+pr3QJ8o7Mc753KxW_5t=Emo1G5Hc12vsZ2eAAEw@mail.gmail.com
обсуждение исходный текст
Ответ на [bug fix] Memory leak in dblink  ("MauMau" <maumau307@gmail.com>)
Ответы Re: [bug fix] Memory leak in dblink
Re: [bug fix] Memory leak in dblink
Список pgsql-hackers
On Mon, Jun 9, 2014 at 6:37 PM, MauMau <maumau307@gmail.com> wrote:
>
> Hello,
>
> I've fixed and tested a memory leak bug in dblink.  Could you review and commit this?  I'll add this to the CommitFest shortly.

Is there a need to free memory context in PG_CATCH()?
In error path the memory due to this temporary context will get
freed as it will delete the transaction context and this
temporary context will definitely be in the hierarchy of it, so
it should also get deleted.  I think such handling can be
useful incase we use PG_CATCH() to suppress the error. 

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

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Allowing NOT IN to use ANTI joins
Следующее
От: b8flowerfire
Дата:
Сообщение: Re: why postgresql define NTUP_PER_BUCKET as 10, not other numbers smaller