Support hostname as parameter in PostgreSQL script
Use default postgres user to execute commands