[PyGreSQL] returning XML data

Christopher Petrilli petrilli at digicool.com
Tue Apr 18 14:01:28 EDT 2000


on 4/18/00 10:04 AM, Stephan Richter at srichter at cbu.edu wrote:

> 
>> I'm wondering if it would be useful to add a method to PygreSQL to return
>> query results as XML data.
> 
> This way you can describe types easily too. Sounds interesting.

This almost smells like a totally separate interface, rather than a simple
modification to the current one.  Perhaps for the interim someone (i.e. not
me) could write up a:

pgdb.xmlify(connection.query(foo))

Or something vaguely like this. This would also make sure that we fully
fleshed out the introspection of result sets.  I would further propose that
any DTD information be shared with the DB-SIG as a whole.  mxODBC for
example has pretty good introspection last time I looked, as does DCOracle I
hope (since I'm its maintainer).

Chris
-- 
| Christopher Petrilli                                     Digital Creations
| petrilli at digicool.com            got zope?             http://www.zope.org





More information about the PyGreSQL mailing list