PL/Python array support - Mailing list pgsql-hackers

From Peter Eisentraut
Subject PL/Python array support
Date
Msg-id 1257343328.18382.18.camel@fsopti579.F-Secure.com
Whole thread Raw
Responses Re: PL/Python array support
Re: PL/Python array support
List pgsql-hackers
Here is a patch to support arrays in PL/Python as parameters and return
values.  It converts an array parameter to a Python "list", and converts
a Python "sequence" return value back to an array.

I have settled on two implementation restrictions for the moment:

- Only supports one-dimensional arrays.  (Python has no multidimensional
lists, so the semantics of this would be dubious.)

- Does not support returning arrays of composite types.  (Basically too
complicated to implement right now and seemingly of limited practical
value.)

Attachment

pgsql-hackers by date:

Previous
From: Thom Brown
Date:
Subject: Re: [BUG?] strange behavior in ALTER TABLE ... RENAME TO on inherited columns
Next
From: Bernd Helmle
Date:
Subject: ALTER TABLE...ALTER COLUMN vs inheritance