-
- Downloads
Allow PL/Python functions to return void, per gripe from James Robinson
(I didn't use his patch, however). A void-returning PL/Python function must return None (from Python), which is translated into a void datum (and *not* NULL) for Postgres. I also added some regression tests for this functionality.
Showing
- src/pl/plpython/expected/plpython_function.out 11 additions, 0 deletionssrc/pl/plpython/expected/plpython_function.out
- src/pl/plpython/expected/plpython_test.out 16 additions, 0 deletionssrc/pl/plpython/expected/plpython_test.out
- src/pl/plpython/plpython.c 25 additions, 7 deletionssrc/pl/plpython/plpython.c
- src/pl/plpython/sql/plpython_function.sql 15 additions, 0 deletionssrc/pl/plpython/sql/plpython_function.sql
- src/pl/plpython/sql/plpython_test.sql 5 additions, 0 deletionssrc/pl/plpython/sql/plpython_test.sql
Loading
Please register or sign in to comment