pgsql: Revert "PL/Python: Remove workaround for returning booleans in P

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Revert "PL/Python: Remove workaround for returning booleans in P
Date: 2013-01-05 14:01:27
Message-ID: E1TrUJT-0000wy-2f@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/7e938e3c56590899bcfa587ad0220869cb9be951

Modified Files
--------------
src/pl/plpython/plpy_typeio.c | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2013-01-05 14:41:59 pgsql: Centralize single quote escaping in src/port/quotes.c
Previous Message Peter Eisentraut 2013-01-05 13:31:22 pgsql: doc: Update CREATE FUNCTION compatibility information