From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Igor Korot <ikorot01@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Splitting libpq build
Date: Sun, 3 Oct 2021 13:28:55 -0700
Message-ID: <5c02c856-62ad-4a16-ace3-ce9988c01737@aklaver.com> (raw)
In-Reply-To: <CA+FnnTx=cBq9QEVLn8CCFK46JHLSVmeYDe1qDBu4t_q040m_=A@mail.gmail.com>
References: <CA+FnnTwRdLKtQpny0fRUK59Xj2SXjLSsmPZpe-+UbSTG-fnHqA@mail.gmail.com>
<3910785.1633291909@sss.pgh.pa.us>
<CA+FnnTx=cBq9QEVLn8CCFK46JHLSVmeYDe1qDBu4t_q040m_=A@mail.gmail.com>
On 10/3/21 1:20 PM, Igor Korot wrote:
> Hi Tom,
>
> On Sun, Oct 3, 2021 at 3:11 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>>
>> Igor Korot <ikorot01@gmail.com> 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
<team+postgresql@tracker.debian.org>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: adrian.klaver@aklaver.com, ikorot01@gmail.com, tgl@sss.pgh.pa.us
Subject: Re: Splitting libpq build
In-Reply-To: <5c02c856-62ad-4a16-ace3-ce9988c01737@aklaver.com>
References: <CA+FnnTwRdLKtQpny0fRUK59Xj2SXjLSsmPZpe-+UbSTG-fnHqA@mail.gmail.com> <3910785.1633291909@sss.pgh.pa.us> <CA+FnnTx=cBq9QEVLn8CCFK46JHLSVmeYDe1qDBu4t_q040m_=A@mail.gmail.com> <5c02c856-62ad-4a16-ace3-ce9988c01737@aklaver.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox