[DB-SIG] PyGreSQL pgsource object

Gerhard Häring gerhard.haering@opus-gmbh.net
Mon, 28 Oct 2002 14:50:45 +0100


* Tamito KAJIYAMA <kajiyama@grad.sccs.chukyo-u.ac.jp> [2002-10-28 21:34 +0900]:
> Hi,
> 
> I found that the pg module in PyGreSQL (version 3.x) contains an
> extension object named pgsource.  It seems useful, but it is not
> mentioned in the documentation at all.  Does this means that the
> pgsource object should not be used in PyGreSQL applications?

What's wrong with using a DB-API module like pyPgSQL or psycopg, or even
PyGreSQL's pgdb module? Does pgsource offer anything that the DB-API interface
doesn't, or that cannot be easily accomplished using the DB-API interface?

Btw. if you want to use PyGreSQL, I'd recommend to get the latest one from the
PostgreSQL folks, for example from the PostgreSQL 7.2.2 source tree. That's
where it is maintained nowadays.
-- 
Gerhard Häring
OPUS GmbH München
Tel.: +49 89 - 889 49 7 - 32
http://www.opus-gmbh.net/