Re: Problem linking with Release library

Adrian Klaver <adrian.klaver@aklaver.com>

From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Igor Korot <ikorot01@gmail.com>
Cc: "pgsql-generallists.postgresql.org" <pgsql-general@lists.postgresql.org>
Date: 2026-05-08T16:24:19Z
Lists: pgsql-general
On 5/8/26 8:34 AM, Igor Korot wrote:
> Hi, Adrian,
> 
> On Fri, May 8, 2026 at 7:32 AM Adrian Klaver <adrian.klaver@aklaver.com 
> <mailto:adrian.klaver@aklaver.com>> wrote:
> 
>     On 5/7/26 11:36 PM, Igor Korot wrote:
>      > Hi,
>      > A long time ago I built both Debug and Release versions of libpq.
> 
>     Define what distinguishes Debug from Release  version.
> 
> 
> Debug - on *nix-like systems it compiles with “-g”. On windows it has 
> references to the source code.
> 
> Release - it’s stripped from the source code references.

What are the specific parameters you use to compile in each case?

> 
> 
> 
>     What version of Postgres are you using for the source?
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       ?

> 
>     What OS and version are you building on?
> 
> 
> This is building on Windows 8 with MSVC 2017.
> 
> Thank you.
> 
> 
> 
>     .
>      >
>      > Thank you.
>      >
>      >
> 
> 
>     -- 
>     Adrian Klaver
>     adrian.klaver@aklaver.com <mailto: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