pygresql and primary key

Tim Roberts timr at
Sat Oct 12 08:17:04 CEST 2002

Gerhard Häring <gerhard.haering at> wrote:

>Marcin Kadziolka <marcin at> [2002-10-10 08:48 GMT]:
>> Hi!
>> I'm using a pg module wrapper from pygresql.
>Ouch. I'd recommend you use a DB-API module like pyPgSQL or psycopg. PyGreSQL
>has a DB-API module called pgdb, too.

It's clear that DB-API is the wave of the future, but I have to say that
the old pg methods make more sense to me in many situations.  The ability
to make a query without the overhead of creating and maintaining a cursor
just seems more efficient for smaller result sets.
- Tim Roberts, timr at
  Providenza & Boekelheide, Inc.

More information about the Python-list mailing list