From: | Andres Freund <andres(at)anarazel(dot)de> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>, Andrew Dunstan <andrew(at)dunslane(dot)net>, pgsql-hackers(at)lists(dot)postgresql(dot)org |
Subject: | Re: Replace uses of deprecated Python module distutils.sysconfig |
Date: | 2022-01-23 23:19:11 |
Message-ID: | 20220123231911.2wig7pwljzghceyi@alap3.anarazel.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
On 2022-01-23 18:11:41 -0500, Tom Lane wrote:
> It may be that one of the other "scheme" values accurately describes
> Debian's actual layout of this package. I didn't check, because the
> scheme is defined to be platform-specific.
posix_prefix does, as far as I can see.
> Specifying a particular value for it would therefore break other platforms.
Hence the suggestion to only force posix_prefix when posix_local (the debian
invention) otherwise would get used...
> Anyway, trying to figure out whether we're on a Debian package with this
> mistake doesn't seem any cleaner than what I proposed. (In particular,
> blindly changing to a different scheme without a check to see what's really
> in the filesystem seems doomed to failure.)
If we make it depend on _get_default_scheme() == 'posix_local' that shouldn't
be a risk, because that's the debian addition...
Greetings,
Andres Freund
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2022-01-23 23:24:20 | Re: Replace uses of deprecated Python module distutils.sysconfig |
Previous Message | Corey Huinker | 2022-01-23 23:16:53 | Re: WIP: System Versioned Temporal Table |