Re: PL/Python result metadata
Abhijit Menon-Sen <ams@toroid.org>
From: Abhijit Menon-Sen <ams@toroid.org>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-hackers@postgresql.org
Date: 2012-01-26T15:47:17Z
Lists: pgsql-hackers
At 2012-01-11 22:05:34 +0200, peter_e@gmx.net wrote: > > I propose to add two functions to the result object: > > .colnames() returns a list of column names (strings) > .coltypes() returns a list of type OIDs (integers) […] > > Patch attached. Comments welcome. Applies, builds, passes tests. Code looks simple and good. Ready for committer, unless you want to add a typmod accessor too. -- ams