Re: PL/Python result metadata

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: PL/Python result metadata
Date: 2012-01-16 18:44:05
Message-ID: 1326739445.29466.1.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2012-01-16 18:46:31 Re: PL/Python result metadata
Previous Message Peter Eisentraut 2012-01-16 18:41:09 Re: pgstat documentation tables