PL/Python: Report argument parsing errors using exceptions
Peter Eisentraut <peter_e@gmx.net>
PL/Python: Report argument parsing errors using exceptions Instead of calling PLy_elog() for reporting Python argument parsing errors, generate appropriate exceptions. This matches the existing plpy functions and is more consistent with the behavior of the Python argument parsing routines.
Files
| Path | Change | +/− |
|---|---|---|
| src/pl/plpython/expected/plpython_ereport.out | modified | +20 −8 |
| src/pl/plpython/plpy_plpymodule.c | modified | +18 −5 |