Make configure prefer python3 to plain python.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 19 Jan 2022 20:38:58 +0000 (15:38 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 19 Jan 2022 20:38:58 +0000 (15:38 -0500)
commitf201da39edcd6ac1ab9a3edf3e20e2a73bbbe69e
tree3203bc7de96354bb93efb2bba051d47a96e20d66
parenta7f4171071bbcdec79e8afa4cad1bc6951b098cc
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
config/python.m4
configure
doc/src/sgml/installation.sgml