pgsql: PL/Python: Remove workaround for returning booleans in Python <2

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: PL/Python: Remove workaround for returning booleans in Python <2
Дата
Msg-id E1TI0Sy-00059n-Q9@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: PL/Python: Convert oid to long/int
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Add _FORTIFY_SOURCE to default compiler options for linux templa