1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Drop support for Python 2.3

There is no specific reason for this right now, but keeping support for
old Python versions around indefinitely increases the maintenance
burden.  The oldest supported Python version is now Python 2.4, which is
still shipped in RHEL/CentOS 5 by default.

In configure, add a check for the required Python version and give a
friendly error message for an old version, instead of relying on an
obscure build error later on.
This commit is contained in:
Peter Eisentraut
2017-02-21 09:27:02 -05:00
parent 0bf41dd190
commit 04aad40186
9 changed files with 27 additions and 45 deletions

View File

@ -193,11 +193,7 @@ su - postgres
language, you need a <productname>Python</productname>
installation with the header files and
the <application>distutils</application> module. The minimum
required version is <productname>Python</productname> 2.3.
(To work with function arguments of type <type>numeric</>, a 2.3.x
installation must include the separately-available <filename>cdecimal</>
module; note the <application>PL/Python</> regression tests
will not pass if that is missing.)
required version is <productname>Python</productname> 2.4.
<productname>Python 3</productname> is supported if it's
version 3.1 or later; but see
<![%standalone-include[the <application>PL/Python</> documentation]]>