Greetings.
I just noticed the following default ports in the pg_upgrade --help:
-p, --old-port=OLDPORT old cluster port number (default 50432)
-P, --new-port=NEWPORT new cluster port number (default 50432)
Why is this different from:
--with-pgport=PORTNUM set default port number [5432]
--
Victor Y. Yegorov