Re: plpython feature idea: an option to return row results as lists - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: plpython feature idea: an option to return row results as lists
Date
Msg-id 1280550219.14158.1.camel@vanquo.pezone.net
Whole thread Raw
In response to plpython feature idea: an option to return row results as lists  (Derek Arnold <derek.arnold@dealerbuilt.com>)
List pgsql-general
On fre, 2010-07-30 at 16:45 -0500, Derek Arnold wrote:
> Has there ever been any interest in adding a keyword option for
> returning row lists rather than dicts?

I don't think so, but it sounds like a reasonable idea.  Other possible
approaches are

- Using a factory class like psycopg
(http://initd.org/psycopg/docs/extras.html)

- Using an OrderedDict



pgsql-general by date:

Previous
From: Alex Hunsaker
Date:
Subject: Re: plpython feature idea: an option to return row results as lists
Next
From: Devrim GÜNDÜZ
Date:
Subject: Re: Centos 5.5 and Postgres 9.0.beta3 install errors