Re: Client-only Meson Build From Sources

From: Benjamin Leff <benjamin(dot)w(dot)leff(at)gmail(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Peter Eisentraut <peter(at)eisentraut(dot)org>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Client-only Meson Build From Sources
Date: 2026-01-02 19:46:51
Message-ID: CAOLxLw_O2z+H7n0QXDD8ypK5k-4d9GKO5rReSLKK87hdfNMLug@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Andres,

Apologies for the poor communication.

On 2026-01-02 12:48:34, Andres Freund wrote:
> On 2026-01-02 12:43:34 -0600, Benjamin Leff wrote:
> > For our use case installing a subset of the tree is sufficient.
> >
> > In order of preference / difficulty:
> > 1) Subset of tree
>
> What precisely do you mean by this?

Poor communication on my part. When I said "in order of preference /
difficulty" I meant in order of difficulty/ease of implementation for
maintainers (that also satisfies our needs), not our actual preference.

Said differently, let's start with the easiest / lowest hanging fruit first
to minimize maintenance burden. A meta target that builds only client
portions of the tree seems like the lightest-weight approach.

> > 2) Subset of libs / binaries
>
> Why is 1) peferrable over 2)?

It's not (again I communicated poorly). #2 (install target filtering
specific libs/binaries) would actually be better for our use case since it
saves both build time and disk space. But since you mentioned #2 would be
"slightly harder" in your earlier email, I was trying to suggest we tackle
#1 first if that's easier to implement and maintain.

> > 3) Configure-time switch to only build client binaries
>
> I really doubt there's interest in going there.

Understood.

I'm happy to help however I can and support the approach that makes the
most sense from a maintenance perspective.

Let me know if that helps clarify!

Thanks,
Benjamin

--
Benjamin W. Leff

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim Jones 2026-01-02 19:51:12 Re: [PATCH] psql: add \dcs to list all constraints
Previous Message Andres Freund 2026-01-02 19:17:39 Re: some Page/PageData const stuff