AW: AW: Compile static postgres.lib for postgres 15.3 on Windows

From: Priess Stefan <stefan(dot)priess(at)nexus-chili(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: AW: AW: Compile static postgres.lib for postgres 15.3 on Windows
Date: 2023-07-31 07:52:04
Message-ID: 8e797b9a37b64ecf87c353dde1bbc343@nexus-chili.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Good morning Tom,

I tried adding

pgport => 5433, # --with-pgport=<path>

to the config_default.pl file. And

$config->{pgport} = 5433;

to the config.pl file.

But the default port is still 5432...

nexus / chili

Stefan Priess
Softwareentwicklung

Tel: +49 6221 18079-10
E-Mail: stefan(dot)priess(at)nexus-chili(dot)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(at)sss(dot)pgh(dot)pa(dot)us>
Gesendet: Freitag, 28. Juli 2023 17:01
An: Priess Stefan <stefan(dot)priess(at)nexus-chili(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Betreff: Re: AW: Compile static postgres.lib for postgres 15.3 on Windows

Priess Stefan <stefan(dot)priess(at)nexus-chili(dot)com> writes:
> 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.

I don't use MSVC myself, but a quick look at the code suggests that you want to add

"--with-pgport" => 5433

(with the quotes, probably).

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Daniel Westermann (DWE) 2023-07-31 07:57:23 Re: Understanding pg_stat_io.evictions
Previous Message Priess Stefan 2023-07-31 06:59:10 AW: AW: Compile static postgres.lib for postgres 15.3 on Windows