Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id D20421337BB7 for ; Tue, 29 Mar 2011 22:20:12 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 41235-02 for ; Wed, 30 Mar 2011 01:20:12 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by mail.postgresql.org (Postfix) with ESMTP id BB5D51337B93 for ; Tue, 29 Mar 2011 22:20:11 -0300 (ADT) Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by wwwmaster.postgresql.org (8.14.3/8.14.3) with ESMTP id p2U1KBxA038384 for ; Wed, 30 Mar 2011 01:20:11 GMT (envelope-from www@wwwmaster.postgresql.org) Received: (from www@localhost) by wwwmaster.postgresql.org (8.14.3/8.14.3/Submit) id p2U1KBNN038382; Wed, 30 Mar 2011 01:20:11 GMT (envelope-from www) Date: Wed, 30 Mar 2011 01:20:11 GMT Message-Id: <201103300120.p2U1KBNN038382@wwwmaster.postgresql.org> To: pgsql-bugs@postgresql.org Subject: BUG #5957: createdb with description and md5 auth forces to provide password twice From: "Grzegorz Szpetkowski" Content-Type: text/plain; charset=utf-8 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 201103/376 X-Sequence-Number: 29886 The following bug has been logged online: Bug reference: 5957 Logged by: Grzegorz Szpetkowski Email address: gszpetkowski@gmail.com PostgreSQL version: 9.0.3 Operating system: Ubuntu 10.10 Description: createdb with description and md5 auth forces to provide password twice Details: How to reproduce the problem: 1.Create new role with (encrypted password): createuser -SdRP user 2.In PostgreSQL 9.0.3 I found pg_hba.conf with local all all ident, so change to local all all md5 3.Restart/Reload used cluster 4.Execute createdb -U user mydb "My DB Description" Output: Password: Password: creatdb command prompts password twice and I think it's improper behaviour (and documentation is silent about that).