Re: PL/Python adding support for multi-dimensional arrays - Mailing list pgsql-hackers

From Jim Nasby
Subject Re: PL/Python adding support for multi-dimensional arrays
Date
Msg-id 357678e5-96bd-00d6-fbee-9f5a5aa09b39@BlueTreble.com
Whole thread Raw
In response to Re: PL/Python adding support for multi-dimensional arrays  (Heikki Linnakangas <hlinnaka@iki.fi>)
Responses Re: PL/Python adding support for multi-dimensional arrays
List pgsql-hackers
On 10/14/16 3:53 AM, Heikki Linnakangas wrote:
> Composite types in arrays must now be returned as
> Python tuples, not lists, to resolve the ambiguity. I.e. "[(col1, col2),
> (col1, col2)]".

Shouldn't dicts be allowed as well? I'm not sure they would 
automatically be considered as tuples (unlike something that extends 
tuples, such as namedtuples).
-- 
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com
855-TREBLE2 (855-873-2532)   mobile: 512-569-9461



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Re: [COMMITTERS] pgsql: Extend framework from commit 53be0b1ad to report latch waits.
Next
From: Stephen Frost
Date:
Subject: Re: Renaming of pg_xlog and pg_clog