pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Priess Stefan <stefan.priess@nexus-chili.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: AW: Compile static postgres.lib for postgres 15.3 on Windows
Date: Fri, 28 Jul 2023 14:26:26 +0000
Message-ID: <8ede2140ca8f42b8ba897ad0618f8ef3@nexus-chili.com> (raw)
In-Reply-To: <2326806.1690548487@sss.pgh.pa.us>
References: <4236ecee89c04926aa9f53e065516729@nexus-chili.com>
	<2326806.1690548487@sss.pgh.pa.us>

Thanks Tom! 

I also need to change the default port from 5433 to 5432 (--with-pgport=5433). How can I do this using the build.bat toolchain? I don't see the pgport parameter in the config_default.pl file.

Best,

Stefan

nexus / chili

Stefan Priess
Softwareentwicklung

Tel: +49 6221 18079-10
E-Mail: stefan.priess@nexus-chili.com


NEXUS / CHILI GmbH, Friedrich-Ebert-Str. 2, 69221 Dossenheim/Heidelberg 
www.nexus-chili.com

Eingetragene Gesellschaft beim Registergericht Mannheim, HRB 337363
Geschäftsführer: Dr. Uwe Engelmann, Dr. Heiko Münch

-----Ursprüngliche Nachricht-----
Von: Tom Lane <tgl@sss.pgh.pa.us> 
Gesendet: Freitag, 28. Juli 2023 14:48
An: Priess Stefan <stefan.priess@nexus-chili.com>
Cc: pgsql-general@lists.postgresql.org
Betreff: Re: Compile static postgres.lib for postgres 15.3 on Windows

Priess Stefan <stefan.priess@nexus-chili.com> writes:
> up to version 9.6.22 there was a win32.mak file in the src/interfaces/libpw folder which could be used to compile a static postgres.lib using nmake. Since Postgres 10 this file has been removed.

Yup.  It didn't really work right and there was insufficient interest in maintaining it.

> Is it still possilbe to build a static postgres.lib for windows ? And if so, how do I do it.

Run the normal build process using MSVC, and then just take libpq.lib from the results.  On any modern machine that's just going to take a few minutes, so it's not worth maintaining a separate libpq-only build path.

			regards, tom lane







view thread (3+ messages)  latest in thread

Message-ID: <8ede2140ca8f42b8ba897ad0618f8ef3@nexus-chili.com>
Permalink:  ../8ede2140ca8f42b8ba897ad0618f8ef3@nexus-chili.com/
Also on:    postgresql.org/message-id/8ede2140ca8f42b8ba897ad0618f8ef3@nexus-chili.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: stefan.priess@nexus-chili.com, tgl@sss.pgh.pa.us
  Subject: Re: Compile static postgres.lib for postgres 15.3 on Windows
  In-Reply-To: <8ede2140ca8f42b8ba897ad0618f8ef3@nexus-chili.com>
  References: <4236ecee89c04926aa9f53e065516729@nexus-chili.com> <2326806.1690548487@sss.pgh.pa.us> <8ede2140ca8f42b8ba897ad0618f8ef3@nexus-chili.com>

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

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