Re: Client-only Meson Build From Sources

From: Andres Freund <andres(at)anarazel(dot)de>
To: Jaroslaw Ciba <jaroslaw(dot)ciba(at)carallon(dot)com>
Cc: Benjamin Leff <benjamin(dot)w(dot)leff(at)gmail(dot)com>, 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" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Client-only Meson Build From Sources
Date: 2026-01-15 18:58:18
Message-ID: 527lmoztqeebz5dwaoanmqmuytonugzvyfcrg5xet4knjnt74m@g3nyaqclv73b
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On 2026-01-15 18:29:43 +0000, Jaroslaw Ciba wrote:
> We'd be interested in a stripped down libpq as well; a couple of our
> embedded Linux platforms built in Buildroot include PostgreSQL, and it
> accounts for roughly 15% and 20% of our firmware bundles respectively - one
> of the taller nails in the BSPs. Both of these platforms are only ever
> clients!

What specifically do you mean with a stripped down libpq? Just without
optional dependencies, which certainly do increase the installed size, or
something more?

> With autoconf it is trivial to get a client-side version only - just 4 make
> commands do the trick.

It'd be a few lines to add a 'libpq' and 'install-libpq' targets, I assume
that'd do the trick for you? I assume you also need the headers being
installed?

Greetings,

Andres Freund

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2026-01-15 19:00:00 Re: Proposal to allow setting cursor options on Portals
Previous Message Tom Lane 2026-01-15 18:55:35 Re: Optimize LISTEN/NOTIFY