Added user, hostname, and port parameters to psql