[PyGreSQL] DB 2.0 list of tuples

Erin Sheldon erin.sheldon at gmail.com
Sun Nov 12 21:46:00 EST 2006


Hi all -

I'm trying out the pgdb interface for
the first time.  One surprise was that the
results in fetchall() are returned as a list
of lists.  The DB 2.0 specification says the
results are a list of tuples.  Is there a way
to get a list of tuples returned?  I have some
applications that require this format, and
copying the result is not going to be
efficient.

All the best,
Erin


More information about the PyGreSQL mailing list