You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Allow PL/Python functions to return arrays of composite types.Also, fix the restriction that plpy.prepare/plpy.execute couldn'thandle query parameters or result columns of composite types.In passing, adopt a saner arrangement for where to release thetupledesc reference counts acquired via lookup_rowtype_tupdesc.The callers of PLyObject_ToCompositeDatum were doing the lookups,but then the releases happened somewhere down inside subroutinesof PLyObject_ToCompositeDatum, which is bizarre and bug-prone.Instead release in the same function that acquires the refcount.Ed Behn and Ronan Dunklau, reviewed by Abhijit Menon-Sen