title: Odoo Connection Error to PostgreSQL remote host
body: <p>I am using Odoo 9 and PostgreSQL 9.5, when  i want to connect the Odoo with remote PostgreSQL Server i get the following error:</p>
  
  <pre><code>psql: could not connect to server: No such file or directory
      Is the server running locally and accepting
      connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
  </code></pre>
  
  <p>It is good to mention that i can connect to the remote host using psql in bash smoothly. the only issue is that Odoo 9 can not connect to it. here is the configuration file parameters of Odoo. is there anything that I am missing.</p>
  
  <pre><code>db_host = 172.30.30.157
  db_name = somedatabase
  db_port = 5432
  db_user = someuser
  db_password = 123@Abc
  </code></pre>