Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wMzi2-000V0k-0l for pgsql-general@arkaria.postgresql.org; Wed, 13 May 2026 02:52:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wMzi0-006phW-2h for pgsql-general@arkaria.postgresql.org; Wed, 13 May 2026 02:52:28 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wMzi0-006phN-0O for pgsql-general@lists.postgresql.org; Wed, 13 May 2026 02:52:28 +0000 Received: from mail-yw1-x1133.google.com ([2607:f8b0:4864:20::1133]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wMzhx-00000000Ipu-2hTK for pgsql-general@lists.postgresql.org; Wed, 13 May 2026 02:52:27 +0000 Received: by mail-yw1-x1133.google.com with SMTP id 00721157ae682-799001d73bdso45193287b3.0 for ; Tue, 12 May 2026 19:52:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1778640745; cv=none; d=google.com; s=arc-20240605; b=TAsHrNXeVifmTVGPtHsUTI2nkGMAXrvYtR4LooRB4SSaAS58K6EZ22wditmRuGQBV2 9NCsflSLnl0GBS6w5QbX+upmXZ7ZEkRMOFqHFcWXEZ2/1hALHOv0XJO2AT5lHBThnKNH 2vKF8q1vXMNfrXEwiQOedWdrJcjefN+RVL/43UJ80pnfQ9XnjOKOU1SXIDBUICbx0wrg k1KqX4CSylasXbSokX2sVW1OZCcGXMl5IuVhslVqiOw1XOUZM5F72+AdNSI1+H4CUkTJ 7a4wjwE5SMzf2tWcv4XYHMfs54rA1kfxAtONZKnld4fRR4tjkXUDRl4TOyhmK+ZMavtm fngA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=3ek62un4Ly/sjd4s9HHSpndPTnjnZ3kpLI67yrOybFQ=; fh=p2HlItIp+DENV0JvD+yq7h14yLa6C68Cml17DNgfAsg=; b=h/W3jS9Jha5OMq2lcPtJrD7nQU9idzBuMUaISo3YUb1i5bK4iQQYEE6zH9DCi97v1D /xf/3XThrdXq0aOfNFqqy1d25X06CJe1V/paUL+FsY4NpGz7CHcZ+UjWC58F/Z2ECiMg 0K52yBwqpOY5kBSLabEqXNiISZqbGLoT04JxFMPeMqwhYtz9Kg4bRBWBVf8ZbB96wfXR N2KQeRGNFlnR2gHaLLy4SIXq/ih1KIghU5VP0mED7wPYNfuOwYmVocMT4BX7+GApT7Lh iyUgJbc6VQo0cg4BhPLvBvnh+GHLgTQbKn69Usl6tjwJj/focR24+woNKJAGInC/rSF+ UzOg==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1778640745; x=1779245545; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=3ek62un4Ly/sjd4s9HHSpndPTnjnZ3kpLI67yrOybFQ=; b=QwWScF2s59i/xe5y9yYwpzFWKThGEBVY/glzN/0bxcl6w5VHr0ocw0hYMBW9UkTdqE Us4mhxiunSiUtYQ0Lr1rrDoQEfz3dZn5gbXSnKwn1LCMUxp56eSpvV02QF2dIPRhg9TJ oazSYIO0yvHCOYFvEOAHRGiNGmJAeAOpPF4LpKi0+J2FCeJdA4rQiEGI/Z8UgzvfjLeT kPm1ynuhXC6bhlgzVkfaG6fsc6Vo/ywcJTnrcWFt0NHX94FH4nZ0yy8t6A2+s7fNIR0m y4cNWyrxAZLXX2bX2DyVjTlWwNouz7cfvB5Z91Q4stNZXA1dvLAcvzFoiVcJ3yLYVvKf I6EQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778640745; x=1779245545; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=3ek62un4Ly/sjd4s9HHSpndPTnjnZ3kpLI67yrOybFQ=; b=Gp8Q1S9DmvKd170rguDttLtf6alHTKVWY4d7Vnsl9NNAXTX38+fqHxduwvJduSgUvi Osyy8otO6QW4an6sz+dkAuF9l7K/fctvGqJzvwQg3V5eUal3EcE3Ys7fPwfHAh8VQXWQ iDPjc4u9YUdcdU+xxCggWmyDMwSsfZ29JLDPHaF+A897RZCshpqJDUGOC4NOjxAxajuc 36wLPEdntlba4F52GsYR3a0SDTMw+5JOwTWJMXvw7NwZOK0XfNzjtQc+bjn8MP4hKeOE yII9/nVdvFRQ5Red/FCePn8io4j7g9+o0LXbRJner5oNkLUGDcRA8yKTy3Uwd4atPWE3 Koxg== X-Forwarded-Encrypted: i=1; AFNElJ8XzCyka6jPjUkPPqgbbc06PgMqZhzJPjCP2ngClstPGDpk4gLJKRfsNzqBIrVuB756SoF4PTnVB4B3PABj@lists.postgresql.org X-Gm-Message-State: AOJu0YyztSV6gls1swex2MLUB6Z7Q+XSUA4Cy2BWuW5ACm7BoJDWuzs0 C00CWeLl+l++5uaDAcCIpmfmZflDWvrRSqj4m0IRjLBFWf5YV+ua0auN4Nw1uA6Inx6dOhclkDe /Gu2IOVA4PM6SyvBUToXfVypDrbAuKEs= X-Gm-Gg: Acq92OGD1HMiFJLtnfxtuRlkCFeR4TVtYIvqYNIRw1pfY2DmcynsJKVLolr9zd5ZLJe gDhTz3yhB6Qd8fLFcI5sFqLTjoVyIBCU19V/79gZOGb3J/Mx60BuF4ZczqY/1YZ1evm4Vk0sU8m s+LOaxgdo66DjH/+2d54SHe88it4E2HmjbFpd/wDDIGORXKCDbjqqmPl/oafnqlRicGs83Ic/eH EMC67/yiKiu7dW61vSHucyvN0zQY/ibZhScgpmUfP7kbzhwtjALY/gGL4S3I+krbLTfD1LK2D/e djfmkMgxmBz7+1MFDudRJ1xbmyfb2IPa3Lf5yJcLAJh7cpo= X-Received: by 2002:a05:690c:e:b0:7bd:6432:daa with SMTP id 00721157ae682-7c6db5df387mr8160187b3.27.1778640745426; Tue, 12 May 2026 19:52:25 -0700 (PDT) MIME-Version: 1.0 References: <6b6752b9-1af1-4650-8125-06440fdc7ccd@aklaver.com> <7f1fdbad-0343-498d-9f15-69bc713915cc@aklaver.com> <0e96fd4d-a97e-4461-a92e-ed2d7c27d38c@aklaver.com> In-Reply-To: From: Igor Korot Date: Tue, 12 May 2026 19:52:13 -0700 X-Gm-Features: AVHnY4IQzVGa_2WOLRbc70ycwTwPuam0we4R1t6XeXyCCBTx2ZOeJXbXaTRrmrM Message-ID: Subject: Re: Problem linking with Release library To: "David G. Johnston" Cc: Adrian Klaver , "pgsql-generallists.postgresql.org" Content-Type: multipart/alternative; boundary="000000000000d072830651aa1153" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000d072830651aa1153 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, David, On Tue, May 12, 2026 at 6:04=E2=80=AFPM David G. Johnston < david.g.johnston@gmail.com> wrote: > On Tuesday, May 12, 2026, Igor Korot wrote: > >> >> So then I thought about creating MSVC project for building libpq as a >> dependency. All I need is to produce a basic default build of both Debug >> and Release builds of libpq only. No server and no ther software needed. >> Prefer to build version 17.4. >> > > > https://git.postgresql.org/gitweb/?p=3Dpostgresql.git;a=3Dcommit;h=3D1301= c80b2167feb658a738fa4ceb1c23d0991e23 > > You seem to have put yourself into cutting edge PostgreSQL territory whil= e > remaining firmly old-school on the OS side of things=E2=80=A6not usually = a good > place to find oneself. > > My LLM guided understanding is your likely 9.6 tool path was removed in > favor of meson back in 2023. But meson itself is still working out the > rough edges for stuff like a defined target for a libpq-only build and > install. > > There is no guarantee or real attempt to keep modern supported versions > running on software obsoleted before they even came into existence. You > may or may not be able to finagle make/meson to do what you are attemptin= g > and the desire to help is limited. You may wish to consult an LLM of you= r > choice for assistance. For something like this they can be very helpful > with little downside. > What I don=E2=80=99t understand is: 1. There used to be a split builds - one package to build the server and another to build the client (libpq). This is no longer the case. PostgreSQL positions itself as client-server RDBMS, so why in order to build the client I need the full blown server to download? 2. Any reason I need to install additional software for building (or configuring the build)? You used to provide the Makefile for MSVC build. What happened to it? But to the point - I=E2=80=99m not running Postgres server. It is running on the different mac= hines. All I need is to build the client library. Why can=E2=80=99t I? Why it shou= ld matter what software (OS/compiler) I=E2=80=99m using? As long as I can succ= essfully build my software and test it it should be fine. Thank you. > David J. > > --000000000000d072830651aa1153 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi, David,

On Tue, May 12, 2026= at 6:04=E2=80=AFPM David G. Johnston <david.g.johnston@gmail.com> wrote:
On Tuesday, May 12, 2026, Igor Korot= <ikorot01@gmail= .com> wrote:

So then I thought about cr= eating MSVC project for building libpq as a dependency. All I need is to pr= oduce a basic default build of both Debug and Release builds of libpq only.= No server and no ther software needed. Prefer to build version 17.4.
=

=C2=A0https://git.postgresql.org/gitweb/?p=3Dp= ostgresql.git;a=3Dcommit;h=3D1301c80b2167feb658a738fa4ceb1c23d0991e23

You seem to have put yourself into cutting edge Pos= tgreSQL territory while remaining firmly old-school on the OS side of thing= s=E2=80=A6not usually a good place to find oneself.

My LLM guided understanding is your likely 9.6 tool path was removed in f= avor of meson back in 2023.=C2=A0 But meson itself is still working out the= rough edges for stuff like a defined target for a libpq-only build and ins= tall.

There is no guarantee or real attempt to kee= p modern supported versions running on software obsoleted before they even = came into existence.=C2=A0 You may or may not be able to finagle make/meson= to do what you are attempting and the desire to help is limited.=C2=A0 You= may wish to consult an LLM of your choice for assistance.=C2=A0 For someth= ing like this they can be very helpful with little downside.

What I don=E2=80=99t unde= rstand is:

1. There used= to be a split builds - one package to build the server and another to buil= d the client (libpq). This is no longer the case.=C2=A0
PostgreSQL positions itself as client-server RDBMS, =C2=A0so why in ord= er to build the client I need the full blown server to download?

2. Any reason I need to install ad= ditional software for building (or configuring the build)? You used to prov= ide the Makefile for MSVC build. What happened to it?

But to the point -
I=E2=80=99m not running Postgres server. It is run= ning on the different machines. All I need is to build the client library. = Why can=E2=80=99t I? Why it should matter what software (OS/compiler) I=E2= =80=99m using? As long as I can successfully build my software and test it = =C2=A0it should be fine.

Thank you.


David J.

--000000000000d072830651aa1153--