set default pg hostname as localhost