Re: plpython feature idea: an option to return row results as lists

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Derek Arnold <derek(dot)arnold(at)dealerbuilt(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: plpython feature idea: an option to return row results as lists
Date: 2010-07-31 04:23:39
Message-ID: 1280550219.14158.1.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Devrim GÜNDÜZ 2010-07-31 10:03:46 Re: Centos 5.5 and Postgres 9.0.beta3 install errors
Previous Message Alex Hunsaker 2010-07-30 22:21:09 Re: plpython feature idea: an option to return row results as lists