Re: PL/Python result metadata - Mailing list pgsql-hackers

From Abhijit Menon-Sen
Subject Re: PL/Python result metadata
Date
Msg-id 20120126154717.GD30769@toroid.org
Whole thread Raw
In response to PL/Python result metadata  (Peter Eisentraut <peter_e@gmx.net>)
List 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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Client Messages
Next
From: Magnus Hagander
Date:
Subject: Re: Pause at end of recovery