Re: Client-only Meson Build From Sources - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Client-only Meson Build From Sources
Date
Msg-id 527lmoztqeebz5dwaoanmqmuytonugzvyfcrg5xet4knjnt74m@g3nyaqclv73b
Whole thread Raw
In response to Client-only Meson Build From Sources  (Benjamin Leff <benjamin.w.leff@gmail.com>)
List 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



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Optimize LISTEN/NOTIFY
Next
From: Robert Haas
Date:
Subject: Re: Proposal to allow setting cursor options on Portals