Re: Time to drop plpython2?
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Peter Eisentraut <peter.eisentraut@enterprisedb.com>, pgsql-hackers@postgresql.org
Date: 2022-03-08T18:42:31Z
Lists: pgsql-hackers
Hi, On 2022-03-07 20:59:16 -0800, Andres Freund wrote: > On 2022-03-07 23:39:39 -0500, Tom Lane wrote: > > Andres Freund <andres@anarazel.de> writes: > > wrasse says you were too quick to drop plpython_error_5.out. > > Does look like it. I'll try to find a distribution with an old python... debian 8 did the trick. The output from older python was in plpython_error.out the output from newer python in plpython_error_5.out. Looked like python2 specific output. Pushed. I guess I should have grokked the _5 suffix - but the _3 suffix was used for python3 specific content, so it wasn't obvious. Should we rename the file to plpython_error_35.out? A bit depressing to have a 500 line alternative output file for a one line diff :(. > > Otherwise looks pretty good so far. > > crake also failed. Looks like plpy_plpymodule.h needs to include plpython.h. A > pre-existing issue that just didn't happen to cause problems... Fixed that. Greetings, Andres Freund
Commits
-
plpython: add missing plpython.h include to plpy_plpymodule.h
- 54c72eb5e5e6 15.0 landed
-
plpython: Adjust docs after removal of Python 2 support.
- 4228cabb72bb 15.0 landed
-
plpython: Code cleanup related to removal of Python 2 support.
- 9b7e24a2cb37 15.0 landed
-
plpython: Remove regression test infrastructure for Python 2.
- db23464715f4 15.0 landed
-
plpython: Remove plpythonu, plpython2u and associated transform extensions.
- 76a29adee749 15.0 landed
-
plpython: Reject Python 2 during build configuration.
- 19252e8ec938 15.0 landed
-
Add traceback information to PL/Python errors
- 2bd78eb8d51c 9.1.0 cited