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

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

Commit: 2dada0cc85ee36f4e2b32a0463cb75ad9466589a
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2011-08-17T21:07:16Z
Releases: 9.2.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