Add Unicode support in PL/Python

Peter Eisentraut <peter_e@gmx.net>

Commit: 4ab6ebf3f4dc8182556dc23c49ee59e602a78f1c
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2009-09-12T22:13:12Z
Releases: 9.0.0
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.

Files