]> granicus.if.org Git - postgresql/commit
Fix two issues in plpython's handling of composite results.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 17 Aug 2011 21:07:25 +0000 (17:07 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 17 Aug 2011 21:07:25 +0000 (17:07 -0400)
commitf26474eff49c12c1bfc02f986406e44045108074
treee690eb66708524f12937508bace194735dd22d5e
parent22a55b3af687806e6b3a08a131d00541774eaade
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
src/pl/plpython/expected/plpython_record.out
src/pl/plpython/plpython.c
src/pl/plpython/sql/plpython_record.sql