Defend against possible crash if a plpython function does not specify names
Tom Lane <tgl@sss.pgh.pa.us>
Defend against possible crash if a plpython function does not specify names for its arguments. Also add a regression test, since someone apparently changed every single plpython test case to use only named parameters; else we'd have noticed this sooner. Euler Taveira de Oliveira, per a report from Alvaro
Files
| Path | Change | +/− |
|---|---|---|
| src/pl/plpython/expected/plpython_function.out | modified | +4 −1 |
| src/pl/plpython/expected/plpython_test.out | modified | +7 −1 |
| src/pl/plpython/plpython.c | modified | +8 −5 |
| src/pl/plpython/sql/plpython_function.sql | modified | +5 −1 |
| src/pl/plpython/sql/plpython_test.sql | modified | +2 −1 |