Re: pqlib garbage collection

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: pqlib garbage collection
Дата
Msg-id 20120503163253.GA4457@svana.org
обсуждение исходный текст
Ответ на Re: pqlib garbage collection  (Alexander Reichstadt <info@apfeltaste.net>)
Список pgsql-general
On Thu, May 03, 2012 at 08:33:06AM +0200, Alexander Reichstadt wrote:
> Hi,
>
> since I got no answer so far I searched through the docu again. I
> searched for GC as well as Garbage, and all garbage refers to is with
> regard to vacuuming a database.  But my question refers to wether or
> not memory management is with garbage collection supported or not.
> When I try to link against pqlib, it seems I need to have garbage
> collection enabled in order for it to link.  But the documentation
> mentions it nowhere.

(I'm assuming you're referring to libpq, the C library).

There is no magic garbage collection. You must use PQclear.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> He who writes carelessly confesses thereby at the very outset that he does
> not attach much importance to his own thoughts.
   -- Arthur Schopenhauer

Вложения

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

Предыдущее
От: Samba
Дата:
Сообщение: Issue with rsync based incremental backup : postgres: startup process waiting for 0000000100000001000000D2
Следующее
От: Darren Duncan
Дата:
Сообщение: Re: Uppercase to lowercase trigger?