Skip site navigation (1) Skip section navigation (2)

Re: PL/Python result metadata

From: Abhijit Menon-Sen <ams(at)toroid(dot)org>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: PL/Python result metadata
Date: 2012-01-26 15:47:17
Message-ID: 20120126154717.GD30769@toroid.org (view raw or flat)
Thread:
Lists: pgsql-hackers
At 2012-01-11 22:05:34 +0200, peter_e(at)gmx(dot)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

In response to

pgsql-hackers by date

Next:From: Magnus HaganderDate: 2012-01-26 15:50:48
Subject: Re: Pause at end of recovery
Previous:From: Tom LaneDate: 2012-01-26 15:31:56
Subject: Re: Client Messages

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group