Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> .colnames() returns a list of column names (strings)
> .coltypes() returns a list of type OIDs (integers)
>
> I just made that up because there is no guidance in the other standard
> PLs for this sort of thing, AFAICT.
What about having the same or comparable API as in psycopg or DB API
http://initd.org/psycopg/docs/cursor.html
You could expose a py.description structure?
--
Dimitri Fontaine
http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support