Re: Problem linking with Release library

Igor Korot <ikorot01@gmail.com>

From: Igor Korot <ikorot01@gmail.com>
To: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: "pgsql-generallists.postgresql.org" <pgsql-general@lists.postgresql.org>
Date: 2026-05-12T17:31:48Z
Lists: pgsql-general
Hi, Adrian,

On Tue, May 12, 2026 at 9:31 AM Adrian Klaver <adrian.klaver@aklaver.com>
wrote:

> On 5/11/26 11:55 PM, Igor Korot wrote:
> > Hi, Adrian,
> >
>
> >> To me it looks like you need to review your tool chain and build
> process.
> >
> > So I'd like to get back to this.
> >
> > Turns out I had a very old 9.6 version.
> >
> > Now I checked and on my Linux box I have 17.4
> >
> > What I'd like to do is integrate libpq building inside MSVC as a
> dependency.
> >
> > Is it possible?
> >
> > If not - what's the simplest possible way of building the library?
>
> Have you looked at?:
>
>
> https://www.postgresql.org/docs/current/installation-platform-notes.html#INSTALLATION-NOTES-VISUAL-STUDIO


No, I didn’t. Thx for the link.

However, if you probably aware, on Windows there is a difference between
Debug and Release builds.

If one links Release library with Debug binary it will run incorrectly if
run at all.

So since I’m right now am building Debug version of my software I need to
build Debug version alone with Release one.

I presume that the download link will give me Release build only?

Thank you.

<https://www.postgresql.org/docs/current/installation-platform-notes.html#INSTALLATION-NOTES-VISUAL-STUDIO>
>
> >
> > Thank you
> >
> >>
> >>
> >>>> --
> >>>> Adrian Klaver
> >>>> adrian.klaver@aklaver.com
> >>
>
>
> --
> Adrian Klaver
> adrian.klaver@aklaver.com
>

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Remove MSVC scripts