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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Junwang Zhao <zhjwpku(at)gmail(dot)com>, Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: [PATCH v1] [meson] add a default option prefix=/usr/local/pgsql
Date: 2022-09-30 15:45:35
Message-ID: 647870.1664552735@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andres Freund <andres(at)anarazel(dot)de> writes:
> On 2022-09-30 23:21:22 +0800, Junwang Zhao wrote:
>> autoconf set PREFIX to /usr/local/pgsql, so I think we should
>> do the same in meson build.

> That makes sense.

+1

> One concern with that is that default would also apply to windows - autoconf
> didn't have to care about that. I just tried it, and it "just" ends up
> installing it into c:/usr/local/pgsql (assuming the build dir is in
> c:/<something>). I think that's something we could live with, but it's worth
> thinking about.

Can we have a platform-dependent default? What was the default
behavior with the MSVC scripts?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Masahiko Sawada 2022-09-30 15:46:54 Re: [PoC] Improve dead tuple storage for lazy vacuum
Previous Message Andres Freund 2022-09-30 15:43:18 Re: [PATCH v1] [meson] add a default option prefix=/usr/local/pgsql