-
- Downloads
Add Unicode support in PL/Python
PL/Python now accepts Unicode objects where it previously only accepted string objects (for example, as return value). Unicode objects are converted to the PostgreSQL server encoding as necessary. This change is also necessary for future Python 3 support, which treats all strings as Unicode objects. Since this removes the error conditions that the plpython_unicode test file tested for, the alternative result files are no longer necessary.
Showing
- src/pl/plpython/expected/README 0 additions, 4 deletionssrc/pl/plpython/expected/README
- src/pl/plpython/expected/plpython_trigger.out 27 additions, 0 deletionssrc/pl/plpython/expected/plpython_trigger.out
- src/pl/plpython/expected/plpython_unicode.out 32 additions, 27 deletionssrc/pl/plpython/expected/plpython_unicode.out
- src/pl/plpython/expected/plpython_unicode_2.out 0 additions, 45 deletionssrc/pl/plpython/expected/plpython_unicode_2.out
- src/pl/plpython/expected/plpython_unicode_3.out 0 additions, 45 deletionssrc/pl/plpython/expected/plpython_unicode_3.out
- src/pl/plpython/plpython.c 71 additions, 11 deletionssrc/pl/plpython/plpython.c
- src/pl/plpython/sql/plpython_trigger.sql 33 additions, 0 deletionssrc/pl/plpython/sql/plpython_trigger.sql
- src/pl/plpython/sql/plpython_unicode.sql 12 additions, 11 deletionssrc/pl/plpython/sql/plpython_unicode.sql
Loading
Please register or sign in to comment