Re: [PATCH v1] [meson] add a default option prefix=/usr/local/pgsql - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCH v1] [meson] add a default option prefix=/usr/local/pgsql
Date
Msg-id 849725.1664587143@sss.pgh.pa.us
Whole thread Raw
In response to Re: [PATCH v1] [meson] add a default option prefix=/usr/local/pgsql  (Andres Freund <andres@anarazel.de>)
Responses Re: [PATCH v1] [meson] add a default option prefix=/usr/local/pgsql
List pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> I see two potential ways of dealing with this reliably on windows: - error out
> if a prefix is not drive-local, that's easy enough to check, something like:
> normalized_prefix.startswith('/') and not normalized_prefix.startswith('//')
> as the installation on windows is relocatable, that's not too bad a
> restriction - if on windows call a small python helper to compute the path of
> tmp_install + prefix, using the code that meson uses for the purpose

I'd be inclined to keep it simple for now.  This seems like something
that could be improved later in a pretty localized way, and it's not
like there's not tons of other things that need work.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: [PATCH v1] [meson] add a default option prefix=/usr/local/pgsql
Next
From: Bharath Rupireddy
Date:
Subject: Re: An attempt to avoid locally-committed-but-not-replicated-to-standby-transactions in synchronous replication