Re: Splitting libpq build

2021-10-03 Thread Igor Korot
Hi, Tom, On Sun, Oct 3, 2021 at 5:27 PM Tom Lane wrote: > > Igor Korot writes: > > Imagine you are a developer/maintainer of sme software. This software needs > > to > > connect to different DBMSes perform soe operations and then disconnect. > > It is very easy to say that I have SQLite as a su

Re: Splitting libpq build

2021-10-03 Thread Tom Lane
Igor Korot writes: > Imagine you are a developer/maintainer of sme software. This software needs to > connect to different DBMSes perform soe operations and then disconnect. > It is very easy to say that I have SQLite as a submodule in my Git tree, > I have mysql-connector as a submodule, but I ca

Re: Splitting libpq build

2021-10-03 Thread Igor Korot
Hi, Adrian, On Sun, Oct 3, 2021 at 3:28 PM Adrian Klaver wrote: > > 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 l

Re: Splitting libpq build

2021-10-03 Thread Tom Lane
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 a

Re: Splitting libpq build

2021-10-03 Thread Adrian Klaver
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 th

Re: Splitting libpq build

2021-10-03 Thread Igor Korot
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? > > It wasn't worth the maintenance trouble. It still isn't. On any >

Re: Splitting libpq build

2021-10-03 Thread Tom Lane
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 ta

Splitting libpq build

2021-10-03 Thread Igor Korot
Hi, ALL, 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? Its very annoying to build the whole server, just to create a client library to connect to a remote DB. And then kill the build after the install as us