title: Postgresql why can't login with newly created user?
body: <p>I'm using phppgadmin, connecting with <code>olduser</code> - works fine. But when i create a new user <code>newuser</code> - i cant login with it.</p>
  
  <p><em>pgbounce.log:</em></p>
  
  <pre><code>(nodb)/(nouser)@unix:5432 closing because: No such user: newuser (age=0)
  (nodb)/(nouser)@unix:5432 Pooler Error: No such user: newuser
  (nodb)/(nouser)@unix:5432 login failed: db=template1 user=newuser
  </code></pre>
  
  <p>But user <code>newuser</code> exists in database - i see it when i login as <code>olduser</code>, also if i make a sql like "select * from pg_shadow;" i see all my users and <code>newuser</code> also as <code>olduser</code> have same parameters. </p>
  
  <p>I tryed to make more users with use of "createuser ... " still cant login with them.</p>
  
  <p><em>pg_hba.conf:</em></p>
  
  <pre><code>local   all         postgres                          ident
  local   all         all                               trust
  host    all         all         127.0.0.1/32          trust
  host    all         all         ::1/128               md5
  </code></pre>
  
  <p>postgresql version 8.4</p>