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@xxxxxxxxxxxxxxx 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@xxxxxxxxxxxxx> Gesendet: Freitag, 28. Juli 2023 17:01 An: Priess Stefan <stefan.priess@xxxxxxxxxxxxxxx> Cc: pgsql-general@xxxxxxxxxxxxxxxxxxxx Betreff: Re: AW: Compile static postgres.lib for postgres 15.3 on Windows Priess Stefan <stefan.priess@xxxxxxxxxxxxxxx> 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