Thread: pgsql: Revert "Prepare for Python "Limited API" in PL/Python"

pgsql: Revert "Prepare for Python "Limited API" in PL/Python"

From
Peter Eisentraut
Date:
Revert "Prepare for Python "Limited API" in PL/Python"

This reverts commit c47e8df815c1c45f4e4fc90d5817d67ab088279f.

That commit makes the plpython tests crash with Python 3.6.* and
3.7.*.  It will need further investigation and testing, so revert for
now.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f734c9fc3a91959c2473a1e33fd9b60116902175

Modified Files
--------------
src/pl/plpython/plpy_cursorobject.c  | 71 +++++++++-----------------
src/pl/plpython/plpy_planobject.c    | 61 ++++++++--------------
src/pl/plpython/plpy_procedure.c     |  5 +-
src/pl/plpython/plpy_resultobject.c  | 98 ++++++++++++++----------------------
src/pl/plpython/plpy_subxactobject.c | 41 +++++++--------
src/pl/plpython/plpy_typeio.c        |  6 +--
6 files changed, 105 insertions(+), 177 deletions(-)