1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-11 20:28:21 +03:00

Make configure prefer python3 to plain python.

This avoids possibly selecting Python 2.x on systems that have
both Python 2 and Python 3.  We used to feel that what "python"
links to is a user choice that we should honor.  However, we're
about to cease support for Python 2, so users will no longer have
any choice of that sort.  This small change is being made ahead
of the big Python-2-ectomy so that we can see how much of the
buildfarm is not yet prepared for that.  Systems with only
Python 2 will continue to build that way, for now.

Discussion: https://postgr.es/m/2872c9a0-4b0a-1354-d5f6-94d6f85ba354@enterprisedb.com
This commit is contained in:
Tom Lane
2022-01-19 15:38:58 -05:00
parent a7f4171071
commit f201da39ed
3 changed files with 7 additions and 9 deletions

View File

@ -1875,7 +1875,7 @@ build-postgresql:
language becomes available. See
<xref linkend="plpython-python23"/>
for more information. If this is not set, the following are probed
in this order: <literal>python python3 python2</literal>.
in this order: <literal>python3 python python2</literal>.
</para>
</listitem>
</varlistentry>