AW: AW: Compile static postgres.lib for postgres 15.3 on Windows - Mailing list pgsql-general

From Priess Stefan
Subject AW: AW: Compile static postgres.lib for postgres 15.3 on Windows
Date
Msg-id 8e797b9a37b64ecf87c353dde1bbc343@nexus-chili.com
Whole thread Raw
In response to Re: AW: Compile static postgres.lib for postgres 15.3 on Windows  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses AW: AW: Compile static postgres.lib for postgres 15.3 on Windows
List 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.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 17:01
An: Priess Stefan <stefan.priess@nexus-chili.com>
Cc: pgsql-general@lists.postgresql.org
Betreff: Re: AW: Compile static postgres.lib for postgres 15.3 on Windows

Priess Stefan <stefan.priess@nexus-chili.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



pgsql-general by date:

Previous
From: Priess Stefan
Date:
Subject: AW: AW: Compile static postgres.lib for postgres 15.3 on Windows
Next
From: "Daniel Westermann (DWE)"
Date:
Subject: Re: Understanding pg_stat_io.evictions