[PyGreSQL] Is pg.DB().source() part of the public API?

D'Arcy J.M. Cain darcy at druid.net
Fri Oct 20 07:18:41 EDT 2006


On Fri, 20 Oct 2006 12:53:07 +0200
Christoph Zwerschke <cito at online.de> wrote:
> The _pg library has been pretty stable for many years now. There will be 
> a few additions and improvements, but the basic functionality and 
> methods will probably not be rewritten or renamed in the near future. 
> But D'Arcy should comment on that, too.

It should remain stable but it is not guaranteed.

> My recommendation is that you write your own Python API module according 
> to your needs based on top of _pg. You can take pg or pgdb as a starting 
> point. If there will be major changes in _pg, then you only have to 
> adapt your API module, not your whole application.

That would be my reccommendation as well.  You can also consider
submitting  changes to the existing pg module (pgdb if it fits in
DB-API) if suitable.

-- 
D'Arcy J.M. Cain <darcy at druid.net>         |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 425 1212     (DoD#0082)    (eNTP)   |  what's for dinner.


More information about the PyGreSQL mailing list