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 1mX86d-0006tX-Qw for pgsql-general@arkaria.postgresql.org; Sun, 03 Oct 2021 20:29:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mX86b-0003UZ-VT for pgsql-general@arkaria.postgresql.org; Sun, 03 Oct 2021 20:29:05 +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 1mX86a-0003UL-ER for pgsql-general@lists.postgresql.org; Sun, 03 Oct 2021 20:29:05 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mX86V-0008HD-Dw for pgsql-general@lists.postgresql.org; Sun, 03 Oct 2021 20:29:03 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id B3C565C00D9; Sun, 3 Oct 2021 16:28:57 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sun, 03 Oct 2021 16:28:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=8 d5jBHR0H/Y4rTszduJp7P5P9pjGM+9WvHIHD+Tbp78=; b=OomOqFL+C5w+9V6lh oliWb/R3sP2lDxO5Jj3VELA04u88veVzI28EQGK0Vb1DG7A1Uxuu+y0pu8GXrgvR F3n0e719e/jmDCYBCz3oKirn+t2PQNLiuW4vUTax0pIgNelb5hrMQzHdetqLa64F ePBJpuHerp7OVQQky/lY90DDTtwRkOIWP8XIMeDrR8Jv8NQjtcsFnePpY7kTMlLn 3NktcDp7BOdaXTy5UDJTBNIVPXVWYyaMg0jTFIMD+fJr2Bhi7Bkvddoesuen6piF skH4ZZFUWubpnyjXEwGUkoaQ2e6rXf7uFx/YAl/qxlKasH1yINqZ0b1Nkmg2B+TH yVVng== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=8d5jBHR0H/Y4rTszduJp7P5P9pjGM+9WvHIHD+Tbp 78=; b=FboMTscP+FYuQwtKdXV5VitarL2KfLAQDcux6HdrE0TDO+zTzzV9bDTF4 FurJ5FtjFb9coJP2YgOpPaTulhfHyBzbtpcgiY25U3wmIGbet/PXNLX/aggt44Gt sm3brUAbpZZ/zIaBUJtJeKfgVY+pweVfaJxP5S1oB+z/OWuKkD4EGtNcafyH1g5R rOP5S5HmKFPS04RhUmeTpJCH98bceMt+4Og+c/HliD9id+sQgA1mz7Ti8xZo5Hhy zVH8EHek326g84C45RvR2XOQ3DrG7PY4voIWfSF8qsXjXS/0F3QZXIy2+vuVdTCe BMTj8zFl61Iqp6CflCvoRNchJetaA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudeltddgudegjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefuvfhfhffkffgfgggjtgfgsehtjeertddtfeejnecuhfhrohhmpeetughr ihgrnhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtg homheqnecuggftrfgrthhtvghrnhepveetjedtieekteefhffhhfetledvkeffvedugeej ueekhffgvdeileeitdekvefhnecuffhomhgrihhnpehpohhsthhgrhgvshhqlhdrohhrgh enucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughr ihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 3 Oct 2021 16:28:56 -0400 (EDT) Subject: Re: Splitting libpq build To: Igor Korot , Tom Lane Cc: "pgsql-generallists.postgresql.org" References: <3910785.1633291909@sss.pgh.pa.us> From: Adrian Klaver Message-ID: <5c02c856-62ad-4a16-ace3-ce9988c01737@aklaver.com> Date: Sun, 3 Oct 2021 13:28:55 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 10/3/21 1:20 PM, Igor Korot wrote: > Hi Tom, > > On Sun, Oct 3, 2021 at 3:11 PM Tom Lane wrote: >> >> 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? > But building the whole tree is just that - useless. > All I need is the libpq to connect to the remote server. > > So I don't need the server to be built - I need a client. That is available from many of the packaging systems. > >> >> 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... If you are deploying to the same client you only need to build once. If not then you need to be more specific about what you are doing? > > I don't know - I'd rather have to install just the library. > > So instead of simplifying the life of maintainers in the different distros > you made the life easier for yourself. ;;-) Not following: apt-cache show libpq5 Package: libpq5 Source: postgresql-14 Version: 14.0-1.pgdg20.04+1 Architecture: amd64 Maintainer: Debian PostgreSQL Maintainers Installed-Size: 748 Depends: libc6 (>= 2.25), libgssapi-krb5-2 (>= 1.17), libldap-2.4-2 (>= 2.4.7), libssl1.1 (>= 1.1.0) Multi-Arch: same Homepage: http://www.postgresql.org/ Priority: optional Section: libs Filename: pool/main/p/postgresql-14/libpq5_14.0-1.pgdg20.04+1_amd64.deb Size: 169756 SHA256: 59be24749b3ee996af762dfad6ac8e915498f0bdb431612308548bac6a5324e0 SHA1: d002223d362a45959a7832bdddbd2ec04c4611ba MD5sum: 2834edac0af08b7ffb4cc5093bb236b6 Description-en: PostgreSQL C client library libpq is a C library that enables user programs to communicate with the PostgreSQL database server. The server can be on another machine and accessed through TCP/IP. This version of libpq is compatible with servers from PostgreSQL 8.2 or later. . This package contains the run-time library, needed by packages using libpq. . PostgreSQL is an object-relational SQL database management system. Description-md5: 4109d08c168c8058d09c0cc8bf8b18b1 > > Thank you. > >> >> regards, tom lane > > -- Adrian Klaver adrian.klaver@aklaver.com