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