]> granicus.if.org Git - postgresql/commit
Revert "PL/Python: Remove workaround for returning booleans in Python <2.3"
authorPeter Eisentraut <peter_e@gmx.net>
Sat, 5 Jan 2013 13:49:19 +0000 (08:49 -0500)
committerPeter Eisentraut <peter_e@gmx.net>
Sat, 5 Jan 2013 13:50:58 +0000 (08:50 -0500)
commit7e938e3c56590899bcfa587ad0220869cb9be951
tree5d250f9f98762274d220bdeda5473eea4cf98271
parent9e6df606197395a5fea6efb13f6f443f420e7b39
Revert "PL/Python: Remove workaround for returning booleans in Python <2.3"

This reverts commit be0dfbad3671ed2503a2a661e70b48c5b364e069.

The previous information that Py_RETURN_TRUE and Py_RETURN_FALSE are
supported in Python 2.3 is wrong.  They require Python 2.4.  Update the
comment about that.
src/pl/plpython/plpy_typeio.c