comp.lang.ada
 help / color / mirror / Atom feed
From: "Alex R. Mosteo" <devnull@mailinator.com>
Subject: Re: Ada & Postgresql
Date: Mon, 06 Sep 2004 11:13:44 +0200
Date: 2004-09-06T11:13:44+02:00	[thread overview]
Message-ID: <2q2nvhFq4qqdU1@uni-berlin.de> (raw)
In-Reply-To: <2q2m4sFqobhgU1@uni-berlin.de>

Alex R. Mosteo wrote:
> Pascal Obry wrote:

>> I've done many projects with GNADE/ODBC (both on GNU/Linux and 
>> Windows). It
>> works just fine.
> 
> 
> I find the thin ODBC binding a bit frustrating (being thin). Are there 
> plans in Gnade to build a simpler thick interface over it? (Maybe ADBC 
> was in this line, but someone said it was discontinued).
> 
> However, the postgresql package is very simple.

Customary inspection & testing of the Gnu.Db.Postgresql shows a memory 
leak in the Database type. Some internal protected type isn't being freed.

I understand that normally database connections are declared once and 
reused, but there may be cases where this is not desired. Furthermore, 
if you don't want to keep the connection alive, the package doesn't 
provide close/reconnect procedures, so you'd be forced to use local 
scopes and then you'd run inexorably in this leak.

I CC to the maintainer.



  reply	other threads:[~2004-09-06  9:13 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-03 17:09 Ada & Postgresql Alex R. Mosteo
2004-09-03 20:51 ` Adrian Knoth
2004-09-04 11:41   ` Marius Amado Alves
2004-09-04 13:50 ` Pascal Obry
2004-09-06  8:42   ` Alex R. Mosteo
2004-09-06  9:13     ` Alex R. Mosteo [this message]
2004-09-06  9:44       ` Marius Amado Alves
2004-09-06 10:10         ` Alex R. Mosteo
2004-09-06 10:57           ` Marius Amado Alves
2004-09-06 11:37             ` Alex R. Mosteo
2004-09-06 11:54               ` Marius Amado Alves
     [not found]               ` <413C4FFE.1010105@netcabo.pt>
2004-09-06 12:03                 ` Marius Amado Alves
2004-09-06 12:43                 ` Marius Amado Alves
2004-09-06 12:54                   ` Martin Dowie
2004-09-06 13:17                     ` Marius Amado Alves
2004-09-06 13:19                   ` Dmitry A. Kazakov
2004-09-06 14:33                     ` Marius Amado Alves
2004-09-06 18:00                       ` Dmitry A. Kazakov
2004-09-06 15:18                   ` Jean-Marc Bourguet
2004-09-06 11:36           ` Marius Amado Alves
2004-09-06 12:56             ` Alex R. Mosteo
2004-09-06 13:12               ` Marius Amado Alves
2004-09-06 15:20                 ` Björn Persson
     [not found]       ` <413C318E.9050709@netcabo.pt>
2004-09-06 10:00         ` Marius Amado Alves
2004-09-06 10:27           ` Alex R. Mosteo
2004-09-06 11:34     ` Dmitry A. Kazakov
2004-09-07  7:02     ` Jerry van Dijk
2004-09-07  8:31       ` Alex R. Mosteo
2004-09-06 15:36 ` Wojtek Narczynski
2004-09-17  1:42   ` Warren W. Gay VE3WWG
2004-09-25 15:26     ` Michael Erdmann
2004-09-25 19:03       ` Pascal Obry
2004-09-29 20:56         ` Warren W. Gay VE3WWG
2004-09-29 21:11           ` Ludovic Brenta
2004-09-30  9:56           ` Benjamin Ketcham
2004-10-04 16:09             ` Warren W. Gay VE3WWG
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox