Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mX8Cd-0007JO-Me for pgsql-general@arkaria.postgresql.org; Sun, 03 Oct 2021 20:35:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mX8Cc-0002RR-M9 for pgsql-general@arkaria.postgresql.org; Sun, 03 Oct 2021 20:35:18 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mX8Cc-0002Pn-Ce for pgsql-general@lists.postgresql.org; Sun, 03 Oct 2021 20:35:18 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mX8Ca-00074S-58 for pgsql-general@lists.postgresql.org; Sun, 03 Oct 2021 20:35:18 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 193KZEfg3912145; Sun, 3 Oct 2021 16:35:14 -0400 From: Tom Lane To: Igor Korot cc: "pgsql-generallists.postgresql.org" Subject: Re: Splitting libpq build In-reply-to: References: <3910785.1633291909@sss.pgh.pa.us> Comments: In-reply-to Igor Korot message dated "Sun, 03 Oct 2021 15:20:53 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3912143.1633293314.1@sss.pgh.pa.us> Date: Sun, 03 Oct 2021 16:35:14 -0400 Message-ID: <3912144.1633293314@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Igor Korot writes: > On Sun, Oct 3, 2021 at 3:11 PM Tom Lane wrote: >> Having said that, it does work on non-Windows machines to do >> ./configure ... >> cd src/interfaces/libpq >> make -s install > Well, asking people to download the whole source tree just to build > client library 1000 times and then 1000 times delete the source code... Uh ... why are you installing from source at all, if that's your use-case? Most major distributions provide packages that subdivide Postgres into client and server packages, and usually there's even a package with just the library(s). > So instead of simplifying the life of maintainers in the different distros > you made the life easier for yourself. ;;-) Well, yeah. Packaging is a different business. And, having *been* a packager for Red Hat for a decade, it's not like I've never heard of it. But I don't see anything we need to do differently there. regards, tom lane