Re: ecpg thead-safe memory management + cleanup

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: ecpg thead-safe memory management + cleanup
Дата
Msg-id 20070930113945.GA29963@feivel.credativ.de
обсуждение исходный текст
Ответ на ecpg thead-safe memory management + cleanup  (ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
Список pgsql-patches
On Fri, Sep 28, 2007 at 03:00:54PM +0900, ITAGAKI Takahiro wrote:
> Here is a patch to get memory management to thread-safe.
> The auto_allocs global variable is split into per-thread variables
> and accessed separately in each thread.

Thanks. Committed to CVS HEAD.

> * Release all prepared statements on disconnection to avoid memory leaks
>   even if users forget to DEALLOCATE their statements before disconnection.

Oops, should have noticed this.

Michael
--
Michael Meskes
Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!

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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: set_ps_display during recovery
Следующее
От: Tom Lane
Дата:
Сообщение: Re: set_ps_display during recovery