Re: Problem linking with Release library

From: Igor Korot <ikorot01(at)gmail(dot)com>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
Cc: "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Problem linking with Release library
Date: 2026-05-12 17:31:48
Message-ID: CA+FnnTyBYnd+884hsK=q+18htux5VX1bd9GEq-Cn83VATmwmdA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi, Adrian,

On Tue, May 12, 2026 at 9:31 AM Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)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(dot)klaver(at)aklaver(dot)com
> >>
>
>
> --
> Adrian Klaver
> adrian(dot)klaver(at)aklaver(dot)com
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Igor Korot 2026-05-12 21:12:00 Re: Problem linking with Release library
Previous Message Adrian Klaver 2026-05-12 16:31:26 Re: Problem linking with Release library