Python installation selection in Meson - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Python installation selection in Meson
Date
Msg-id 3f5427e8-cef6-474d-ae88-13db1bfdc1a7@eisentraut.org
Whole thread Raw
Responses Re: Python installation selection in Meson
Re: Python installation selection in Meson
List pgsql-hackers
I noticed that under meson, the selection of the Python installation 
using the 'PYTHON' option doesn't work completely.  The 'PYTHON' option 
determined the Python binary that will be used to call the various build 
support programs.  But it doesn't affect the Python installation used 
for PL/Python.  For that, we need to pass the program determined by the 
'PYTHON' option back into the find_installation() routine of the python 
module.  (Otherwise, find_installation() will just search for an 
installation on its own.)  See attached patch.  I ran this through 
Cirrus, seems to work.
Attachment

pgsql-hackers by date:

Previous
From: David Geier
Date:
Subject: Fix assertion in autovacuum worker
Next
From: Alexander Korotkov
Date:
Subject: Re: XID formatting and SLRU refactorings