On Thu, 6 Sep 2007 15:41:30 -0300
geoff <[EMAIL PROTECTED]> wrote:
> Perhaps I was dreaming, but somewhere, sometime I think I saw a post
> in the archive that talked about merging the pg and pgdb modules.
> 
> Is this still on the agenda, or was I just dreaming ?

Could be both, no?  :-)

Yes, there is a plan to make the pg module based on the pgdb module so
that pg can be used on top of any DB-API compliant module.

> Currently use the pgdb module, predominately on Windows and would like
> to start using Notifications from the server, but can seem to find a
> way of doing this.

I suppose a simple change to pg would be to allow __init__ to take a
pgdb object as an arg instead of database params.  That would allow you
to use all of the pgdb methods as well as pg ones.  Something like this.

>>> import pg, pgdb
>>> db = pgdb.connect([connection params])
>>> db = pg.DB(db)

> 
> Thanks in advance.
> 
> G.
> _______________________________________________
> PyGreSQL mailing list
> [email protected]
> http://mailman.vex.net/mailman/listinfo/pygresql


-- 
D'Arcy J.M. Cain
PyGreSQL Development Group
http://www.PyGreSQL.org
_______________________________________________
PyGreSQL mailing list
[email protected]
http://mailman.vex.net/mailman/listinfo/pygresql

Reply via email to