Fix two issues in plpython's handling of composite results.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: f26474eff49c12c1bfc02f986406e44045108074
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2011-08-17T21:07:25Z
Releases: 9.1.0
Fix two issues in plpython's handling of composite results.

Dropped columns within a composite type were not handled correctly.
Also, we did not check for whether a composite result type had changed
since we cached the information about it.

Jan Urbański, per a bug report from Jean-Baptiste Quenot

Files