Hi, regarding pqlib, from what I gather it is with garbage collection supported, yes? If so, is PQclear a left-over or still mandatory for avoiding leaks? Thanks Alex
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. Please, can someone confirm this or is this the wrong list? Thanks Alex Am 02.05.2012 um 23:32 schrieb Alexander Reichstadt: > Hi, > > regarding pqlib, from what I gather it is with garbage collection supported, yes? > > > If so, is PQclear a left-over or still mandatory for avoiding leaks? > > > Thanks > Alex > >
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
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера