pgsql: Make configure prefer python3 to plain python.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Make configure prefer python3 to plain python.
Date: 2022-01-19 20:39:08
Message-ID: E1nAHjY-0006HA-Nq@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

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

Modified Files
--------------
config/python.m4 | 12 +++++-------
configure | 2 +-
doc/src/sgml/installation.sgml | 2 +-
3 files changed, 7 insertions(+), 9 deletions(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2022-01-19 21:29:30 pgsql: TAP tests: check for postmaster.pid anyway when "pg_ctl start" f
Previous Message Tom Lane 2022-01-19 17:37:04 pgsql: Remove redundant memory context switches in BeginCopyFrom().