]> TLD Linux GIT Repositories - packages/postgresql.git/blob - postgresql-python3.patch
- really prefer python3 over python2
[packages/postgresql.git] / postgresql-python3.patch
1 --- postgresql-14.3/config/python.m4    2022-05-09 23:14:45.000000000 +0200
2 +++ postgresql-14.3/config/python.m4    2022-05-28 17:13:50.058076647 +0200
3 @@ -16,7 +16,7 @@
4  # "python2" and "python3", in which case it's reasonable to prefer the
5  # newer version.
6  AC_DEFUN([PGAC_PATH_PYTHON],
7 -[PGAC_PATH_PROGS(PYTHON, [python python3 python2])
8 +[PGAC_PATH_PROGS(PYTHON, [python3 python2 python])
9  AC_ARG_VAR(PYTHON, [Python program])dnl
10  if test x"$PYTHON" = x""; then
11    AC_MSG_ERROR([Python not found])