On Mon, Oct 8, 2012 at 4:59 PM, Seref Arikan <serefarikan@xxxxxxxxxxxxxxxxxxxxx> wrote: > Thanks Merlin, > I've tried arrays but plpython does not support returning arrays of custom > db types (which is what I'd need to do) hm -- yeah. can your custom types be broken down into plain SQL types (that is, composite types?). maybe stash the results in global variable and return it in two calls, or insert into into a tempt table that drops on commit? merlin -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general