BUG #5957: createdb with description and md5 auth forces to provide password twice

From: "Grzegorz Szpetkowski" <gszpetkowski(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #5957: createdb with description and md5 auth forces to provide password twice
Date: 2011-03-30 01:20:11
Message-ID: 201103300120.p2U1KBNN038382@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers


The following bug has been logged online:

Bug reference: 5957
Logged by: Grzegorz Szpetkowski
Email address: gszpetkowski(at)gmail(dot)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).

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message jack liu 2011-03-30 02:58:38 BUG #5958: Connection error when authentication is kerberos
Previous Message Mario Barrientos 2011-03-29 22:53:48 BUG #5956: quiero crear una base de datos -E LATIN1 en la version 8.4

Browse pgsql-hackers by date

  From Date Subject
Next Message aaronenabs 2011-03-30 01:21:54 Re: PostgreSQL sourcecode
Previous Message Joseph Adams 2011-03-30 01:15:11 Re: Another swing at JSON