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

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


--=-fRWHAClGGAkY4kjdXvxd
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/
>=20
> 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.

--=20
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

--=-fRWHAClGGAkY4kjdXvxd
Content-Type: application/pgp-signature

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

iEYEABECAAYFAjyjIF0ACgkQvcCgrgZGjevBawCfY1dEv4u7Hs/nzeS4loM+X9YZ
DAEAoMo0E9PNHxQpw2Rpz9QDTWKMfHze
=osjA
-----END PGP SIGNATURE-----

--=-fRWHAClGGAkY4kjdXvxd--