Fix two issues in plpython's handling of composite results.
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| src/pl/plpython/expected/plpython_record.out | modified | +21 −0 |
| src/pl/plpython/plpython.c | modified | +84 −30 |
| src/pl/plpython/sql/plpython_record.sql | modified | +15 −0 |