Fixed an issue that restarting PostgreSQL doesnot pickup change of port
Added support for choosing port of database