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 обсуждение исходный текст |
| Ответ на | 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
|
| Список | 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 по дате отправления: