comp.lang.ada
 help / color / mirror / Atom feed
From: Marius Amado Alves <amado.alves@netcabo.pt>
To: comp.lang.ada@ada-france.org
Subject: Re: Ada & Postgresql
Date: Mon, 06 Sep 2004 12:36:09 +0100
Date: 2004-09-06T12:36:09+01:00	[thread overview]
Message-ID: <mailman.42.1094470564.31213.comp.lang.ada@ada-france.org> (raw)
In-Reply-To: <2q2r9tFqihj7U1@uni-berlin.de>

GNADE vs. Pgsql.

Pgsql is a simple Ada binding to Postgres.
GNADE is a very big [1] Ada library encompassing various database 
systems (Postgres, MySQL, etc.) and protocols (ODBC).
Pick the proper thing for you application. Use Pgsql when you simply 
want to bind to Postgres and don't need ODBC.

Now comparing oranges with oranges, i.e. considering the Postgres 
binding of GNADE, Gnu.Db.Postgres, vs. Pgsql.

As noted, Gnu.Db.Postgres has a leak in the connection area. But has 
controlled queries that automatically reclaim memory on finalization. 
Pgsql has no leaks per se, but in its current version the types are not 
controlled, so the user has to reclaim memory him self. Pick you poison.

However, I think the main difference is in the style of the Ada spec. 
Unfortunately I'm not able to look at Gnu.Db.Postgres right now [2], but 
from what I recall from my examination of the landscape some time ago, 
which has probably included Gnu.Db.Postgres, they are much longer and 
harder to use than Pgsql.

[1] The RPM has 6M, but I don't know what's in it. See note 2.

[2] The Sourceforge site seems to only provide RPM files. How do I read 
this in my Windows XP laptop? Also, when I click the version number on 
the site (hoping to browse the files), I get XML garbage.




  parent reply	other threads:[~2004-09-06 11:36 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
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 [this message]
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