title: PostgreSQL .pgpass file with multiple passwords?
body: <p>Hello I am useing postgresql pg_dump to dump a databases but there are multiple databases on the postgresql instance can the .pgpass file have multiple databases passwords in it.</p>
  
  <p>pg_dump command: -h = host -p =port -U = user -w = look for .pgpass file</p>
  
  <pre><code>pg_dump -h localhost -p 7432 -U scm -w &gt; /nn5/scm_server_db_backup
  </code></pre>
  
  <p>.pgpass file looks like this:</p>
  
  <pre><code>   localhost:7432:scm:scm:password
  </code></pre>
  
  <p>There are other databases running on this instance of postgresql and I would like to add them to the file so i only need to use one .pgpass file 
  I think the users in the dump command needs to change also? </p>
  
  <pre><code>   localhost:7432:amon:amon:password
  </code></pre>