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 1mX7pz-00061A-5E for pgsql-general@arkaria.postgresql.org; Sun, 03 Oct 2021 20:11:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mX7px-0004xb-To for pgsql-general@arkaria.postgresql.org; Sun, 03 Oct 2021 20:11:53 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mX7px-0004xT-Kr for pgsql-general@lists.postgresql.org; Sun, 03 Oct 2021 20:11:53 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mX7pv-00087G-GX for pgsql-general@lists.postgresql.org; Sun, 03 Oct 2021 20:11:52 +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 193KBnFN3910786; Sun, 3 Oct 2021 16:11:49 -0400 From: Tom Lane To: Igor Korot cc: "pgsql-generallists.postgresql.org" Subject: Re: Splitting libpq build In-reply-to: References: Comments: In-reply-to Igor Korot message dated "Sun, 03 Oct 2021 14:51:12 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3910784.1633291909.1@sss.pgh.pa.us> Date: Sun, 03 Oct 2021 16:11:49 -0400 Message-ID: <3910785.1633291909@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Igor Korot writes: > I wonder who ade the decision not to provide an independent build > of the client library of PostgreSQL? And what was the reason behind it? It wasn't worth the maintenance trouble. It still isn't. On any remotely-modern machine, a build of the whole tree is only going to take a minute or two. And libpq doesn't change so fast that you'd need to do this often. Having said that, it does work on non-Windows machines to do ./configure ... cd src/interfaces/libpq make -s install The Windows case is exactly what we killed as not being worth the maintenance effort, so I doubt you'll find much interest in resurrecting that one. regards, tom lane