Re: BUG #6366: ECPG connection Memory Leak when using Host Variables

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: BUG #6366: ECPG connection Memory Leak when using Host Variables
Дата
Msg-id 20120105131405.GA11590@feivel.credativ.lan
обсуждение исходный текст
Ответ на BUG #6366: ECPG connection Memory Leak when using Host Variables  (li_gang02@sina.com)
Список pgsql-bugs
> ** PostgreSQL bug on ECPG connection when using Host Variables

Thanks for bringing this up. I just commited a fix into our git.

> **          in memory leak (TotalSize =3D n * sizeof(struct var_list), wh=
ere n
> is maxium
> **          of Host Variables used in a DB Connection).

The actual number is quite a bit lower because only variables used in DECLA=
RE
statements directly get stored in that list.

> **  Bug Fixing:
> **      A new function should be added, details as folloging

I integrated this into the connection closing code.=20

Michael
--=20
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
Jabber: michael.meskes at googlemail dot com
VfL Borussia! For=C3=A7a Bar=C3=A7a! Go SF 49ers! Use Debian GNU/Linux, Pos=
tgreSQL

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

Предыдущее
От: Michael Beattie
Дата:
Сообщение: Re: BUG #6380: dropdb gives error while loading shared libraries: liblber-2.3.so.0
Следующее
От: Ryan Kelly
Дата:
Сообщение: Re: [PATCH] Prevent hanging on unreachable hosts on startup