Re: meson oddities

From: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andrew Dunstan <andrew(at)dunslane(dot)net>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: meson oddities
Date: 2023-01-26 09:20:58
Message-ID: 132d612e-1f58-4274-d8ab-1d4c26efbd34@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 19.01.23 21:45, Andres Freund wrote:
> Hi,
>
> On 2023-01-19 21:37:15 +0100, Peter Eisentraut wrote:
>> On 11.01.23 12:05, Peter Eisentraut wrote:
>>> I think there is also an adjacent issue:  The subdir options may be
>>> absolute or relative.  So if you specify --prefix=/usr/local and
>>> --sysconfdir=/etc/postgresql, then
>>>
>>>     config_paths_data.set_quoted('SYSCONFDIR', dir_prefix / dir_sysconf)
>>>
>>> would produce something like /usr/local/etc/postgresql.
>
> I don't think it would. The / operator understands absolute paths and doesn't
> add the "first component" if the second component is absolute.

Oh, that is interesting. In that case, this is not the right patch. We
should proceed with my previous patch in [0] then.

[0]:
https://www.postgresql.org/message-id/a6a6de12-f705-2b33-2fd9-9743277deb08@enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Drouvot, Bertrand 2023-01-26 09:33:53 Re: Helper functions for wait_for_catchup() in Cluster.pm
Previous Message David Geier 2023-01-26 09:14:05 Re: pg_upgrade from PG-14.5 to PG-15.1 failing due to non-existing function