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

From Peter Eisentraut
Subject Re: PL/Python result metadata
Date
Msg-id 1326739445.29466.1.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: PL/Python result metadata  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
On ons, 2012-01-11 at 17:16 -0300, Alvaro Herrera 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)
> 
> No typmods? 

Didn't think about that, but could be added using similar interface and
code.



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: pgstat documentation tables
Next
From: Peter Eisentraut
Date:
Subject: Re: PL/Python result metadata