Making postgresql accessible to all hosts.