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.pri...@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 <t...@sss.pgh.pa.us> 
Gesendet: Freitag, 28. Juli 2023 17:01
An: Priess Stefan <stefan.pri...@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.pri...@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


Reply via email to