Add support for connecting to a different postgres port.