Hi,
Is it possible to get pgdb to return full column names (i.e. "table.column"
instead of just "column")? This would be handy when executing joins.
I.e.
>>> cursor.execute("select * from document, element")
>>> print cursor.description
[('document.id', ...), ('document.name', ...), ('element.id', ...),
('element.text', ...)]
...instead of the current behaviour, which is:
>>> print cursor.description
[('id', ...), ('name', ...), ('id', ...), ('text', ...)]
The SQLite Python module has something like this with "pragma
full_column_names=ON;":
http://mail.python.org/pipermail/python-bugs-list/2009-January/069202.html
Possible?
Thanks.
Andrew
__________________________________________________________________
Looking for the perfect gift? Give the gift of Flickr!
http://www.flickr.com/gift/
_______________________________________________
PyGreSQL mailing list
[email protected]
http://mailman.vex.net/mailman/listinfo/pygresql