public inbox for pgsql-general@postgresql.org  
help / color / mirror / Atom feed
From: Igor Korot <ikorot01@gmail.com>
To: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Problem linking with Release library
Date: Tue, 12 May 2026 10:31:48 -0700
Message-ID: <CA+FnnTyBYnd+884hsK=q+18htux5VX1bd9GEq-Cn83VATmwmdA@mail.gmail.com> (raw)
In-Reply-To: <a2876055-5b4f-4579-8238-02bbda9113be@aklaver.com>
References: <CA+FnnTwW+=MgpA+w_VUQCb=nPqHihGz51pc6TkYh_QX7ext7Ew@mail.gmail.com>
	<6b6752b9-1af1-4650-8125-06440fdc7ccd@aklaver.com>
	<CA+FnnTzMpDBgVprWDVquGQciazVc+8NFnqM9bmdqRgxhL3UTqA@mail.gmail.com>
	<7f1fdbad-0343-498d-9f15-69bc713915cc@aklaver.com>
	<CA+FnnTxS-j2RivcD7Xk6A0UJSy-cR=W_0zyUUw19XZ9dp_7iCQ@mail.gmail.com>
	<0e96fd4d-a97e-4461-a92e-ed2d7c27d38c@aklaver.com>
	<CA+FnnTxuAtcbPLGKekF1kS-ifUX8BtW5NRu1-8vAfj_qbLPVyQ@mail.gmail.com>
	<a2876055-5b4f-4579-8238-02bbda9113be@aklaver.com>

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-S...


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-S...;
>
> >
> > Thank you
> >
> >>
> >>
> >>>> --
> >>>> Adrian Klaver
> >>>> adrian.klaver@aklaver.com
> >>
>
>
> --
> Adrian Klaver
> adrian.klaver@aklaver.com
>


reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-general@postgresql.org
  Cc: ikorot01@gmail.com, adrian.klaver@aklaver.com, pgsql-general@lists.postgresql.org
  Subject: Re: Problem linking with Release library
  In-Reply-To: <CA+FnnTyBYnd+884hsK=q+18htux5VX1bd9GEq-Cn83VATmwmdA@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox