Re: [PATCH v1] [meson] add a default option prefix=/usr/local/pgsql
От
Tom Lane
Тема
Re: [PATCH v1] [meson] add a default option prefix=/usr/local/pgsql
Дата
Msg-id
849725.1664587143@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
[PATCH v1] [meson] add a default option prefix=/usr/local/pgsql Junwang Zhao <zhjwpku@gmail.com>
Re: [PATCH v1] [meson] add a default option prefix=/usr/local/pgsql Andres Freund <andres@anarazel.de>
Re: [PATCH v1] [meson] add a default option prefix=/usr/local/pgsql Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH v1] [meson] add a default option prefix=/usr/local/pgsql Andres Freund <andres@anarazel.de>
Re: [PATCH v1] [meson] add a default option prefix=/usr/local/pgsql Andres Freund <andres@anarazel.de>
Re: [PATCH v1] [meson] add a default option prefix=/usr/local/pgsql Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH v1] [meson] add a default option prefix=/usr/local/pgsql Andres Freund <andres@anarazel.de>
Re: [PATCH v1] [meson] add a default option prefix=/usr/local/pgsql Andres Freund <andres@anarazel.de>
Re: [PATCH v1] [meson] add a default option prefix=/usr/local/pgsql Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH v1] [meson] add a default option prefix=/usr/local/pgsql Andres Freund <andres@anarazel.de>
Re: [PATCH v1] [meson] add a default option prefix=/usr/local/pgsql Andres Freund <andres@anarazel.de>
Andres Freund 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 по дате отправления
От: Andres Freund
Дата:
От: Bharath Rupireddy
Дата: