pgsql: PL/Python: Remove workaround for returning booleans in Python <2 - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: PL/Python: Remove workaround for returning booleans in Python <2
Date
Msg-id E1TI0Sy-00059n-Q9@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
PL/Python: Remove workaround for returning booleans in Python <2.3

Since Python 2.2 is no longer supported, we can now use Py_RETURN_TRUE
and Py_RETURN_FALSE instead of the old workaround.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/be0dfbad3671ed2503a2a661e70b48c5b364e069

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


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: PL/Python: Convert oid to long/int
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Add _FORTIFY_SOURCE to default compiler options for linux templa