Re: Client-only Meson Build From Sources

From: Benjamin Leff <benjamin(dot)w(dot)leff(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Eisentraut <peter(at)eisentraut(dot)org>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Client-only Meson Build From Sources
Date: 2025-10-21 15:23:15
Message-ID: CAOLxLw8GhSHb2EpuQanfL06cVt8m+dvNLmtb9MxUo6jALAbHfw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> I believe the prevailing opinion was that the amount
of time saved by not building all of PG didn't justify the maintenance
effort to keep the build scripts working for that case

IMO, it’s not just about time. For bare bones package managers when there’s
no need to build the server, this saves a few GB.

--
Benjamin W. Leff
(516) 754-3453

On Tue, Oct 21, 2025 at 9:57 AM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> Peter Eisentraut <peter(at)eisentraut(dot)org> writes:
> > On 20.10.25 22:43, Benjamin Leff wrote:
> >> Are there any plans to support a client-only (no server) build in meson?
>
> > I'm not aware of such plans. But that doesn't mean somebody couldn't
> > propose one.
>
> Years ago we had support for client-only builds on at least some
> toolchains (MSVC at least, not sure about elsewhere). That got
> dropped though. I believe the prevailing opinion was that the amount
> of time saved by not building all of PG didn't justify the maintenance
> effort to keep the build scripts working for that case. I think that
> that argument hasn't lost its force, so we'd be likely to reject any
> such proposal.
>
> regards, tom lane
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2025-10-21 16:01:04 Re: [PATCH] Add pg_get_trigger_ddl() to retrieve the CREATE TRIGGER statement
Previous Message Philip Alger 2025-10-21 15:15:39 Re: [PATCH] Add pg_get_trigger_ddl() to retrieve the CREATE TRIGGER statement