[DB-SIG] Porting a Postgres Python library to Ingres?

Federico Di Gregorio fog@debian.org
28 Mar 2002 14:53:33 +0100

Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Il gio, 2002-03-28 alle 13:36, Hamish Lawson ha scritto:
> I need a Python module for Ingres. The only one I have found is at
> =20
>     http://www.informatik.uni-rostock.de/~hme/software/
> However it claims a thread safety of only 0, and I think it may need
> some development in other areas. Therefore I was wondering how feasible
> it would be to port one of the Postgres Python libraries (pgdb, psycopg
> or PyPgSQL) to Ingres; I'm hoping that the historical relationship
> between Ingres and Postgres means that there will be some similarity in
> the C API (does anyone know if this is so?).

psycopg is enginered quite well and all the calls to the database use
only 5-10 functions from libpq. i think should be quite easy to wrap
them in code that converts from ingres api to postgres one. type casting
of the result may require some more work though.

Federico Di Gregorio
Debian GNU/Linux Developer & Italian Press Contact        fog@debian.org
INIT.D Developer                                           fog@initd.org
  99.99999999999999999999% still isn't 100% but sometimes suffice. -- Me

Content-Type: application/pgp-signature

Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Per informazioni si veda http://www.gnupg.org