Re: [bug fix] Memory leak in dblink

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: [bug fix] Memory leak in dblink
Дата
Msg-id 20140619155035.GP18688@eldon.alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: [bug fix] Memory leak in dblink  (Joe Conway <mail@joeconway.com>)
Ответы Re: [bug fix] Memory leak in dblink  (Joe Conway <mail@joeconway.com>)
Список pgsql-hackers
Joe Conway wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 06/18/2014 08:50 PM, Joe Conway wrote:
> > On 06/18/2014 08:45 PM, Tom Lane wrote:
> >> Well, we usually think memory leaks are back-patchable bugs.  I'm
> >> a bit worried about the potential performance impact of an extra
> >>  memory context creation/deletion though.  It's probably not 
> >> noticeable in this test case, but that's just because dblink()
> >> is such a spectacularly expensive function.
> > 
> > Probably so. I'll try to scrounge up some time to test the
> > performance impact of your patch.
> 
> Not the most scientific of tests, but I think a reasonable one:

Is this an assert-enabled build?

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services



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

Предыдущее
От: Kevin Grittner
Дата:
Сообщение: Re: idle_in_transaction_timeout
Следующее
От: Vik Fearing
Дата:
Сообщение: Re: idle_in_transaction_timeout