gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] float() problem


From: Horst Herb
Subject: Re: [Gnumed-devel] float() problem
Date: Tue, 3 Sep 2002 07:05:28 +1000
User-agent: KMail/1.4.6

On Mon, 2 Sep 2002 07:54 pm, Julio Jiménez wrote:

> assert(float(dbapi.apilevel) >= 2.0)
>
> what is 'dbapi'

dbapi is an alias for the DB-API 2.0 compliant database adapter module 
imported in gmPG.

Have a look at the first few lines of code in gmPG.py

Anyway, I though we recently agreed to use pyPgSQL as sole adapter due to the 
incompatibilities between adapters, didn't we?

If there are objections, I am happy to writte more wrappers to convert the 
'date & time' related incompatibilities (And swallow the associated 
performance penalty), but it will be tough to get around the asynchronous 
notification bit - or how does psycopg handle this? AFAIK, it does not offer 
direct access to the full libpq API.

Horst





reply via email to

[Prev in Thread] Current Thread [Next in Thread]