Re: Memory Management in pqlib, Garbage Collection support - Mailing list pgsql-general

From Peter Bex
Subject Re: Memory Management in pqlib, Garbage Collection support
Date
Msg-id 20120503071643.GA23432@frohike.homeunix.org
Whole thread Raw
In response to Memory Management in pqlib, Garbage Collection support  (Alexander Reichstadt <lxr@mac.com>)
Responses Re: Memory Management in pqlib, Garbage Collection support
List pgsql-general
On Thu, May 03, 2012 at 09:08:53AM +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
refersto is with regard to vacuuming a database. But my question refers to wether or not memory management is with
garbagecollection supported or not. When I try to link against pqlib, it seems I need to have garbage collection
enabledin order for it to link. But the documentation mentions it nowhere. 

What kind of garbage collection do you need to have enabled in order to link?

C is based on manual memory-management, and you can't generally have
garbage-collection in it.  Hence, libpq is *not* garbage-collected and
your statement that it needs "garbage collection enabled" doesn't make
much sense to me.

Are you talking about libpq bindings to some other language, perhaps?

> Please, can someone confirm this or is this the wrong list?

This is the right list.

Cheers,
Peter
--
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
 is especially attractive, not only because it can be economically
 and scientifically rewarding, but also because it can be an aesthetic
 experience much like composing poetry or music."
                            -- Donald Knuth

pgsql-general by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: SQLSTATE XX000 Internal Error 7
Next
From: Chrishelring
Date:
Subject: Re: Uppercase to lowercase trigger?