From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,2efc07c562a92932 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!not-for-mail From: "Alex R. Mosteo" Newsgroups: comp.lang.ada Subject: Re: Ada & Postgresql Date: Mon, 06 Sep 2004 11:13:44 +0200 Message-ID: <2q2nvhFq4qqdU1@uni-berlin.de> References: <2prmojFo9eo1U1@uni-berlin.de> <2q2m4sFqobhgU1@uni-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de M+PTeTKVlvvoHuTHUlGg/AL17LMh/0UR2qLYpj0z/KAKEJLpM= User-Agent: Mozilla Thunderbird 0.7.1 (X11/20040626) X-Accept-Language: en-us, en In-Reply-To: <2q2m4sFqobhgU1@uni-berlin.de> Xref: g2news1.google.com comp.lang.ada:3360 Date: 2004-09-06T11:13:44+02:00 List-Id: 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.