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

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Grzegorz Szpetkowski <gszpetkowski(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5957: createdb with description and md5 auth forces to provide password twice
Date: 2011-09-06 17:24:08
Message-ID: 201109061724.p86HO8b12420@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

Grzegorz Szpetkowski wrote:
>
> 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).

FYI, this will be fixed in Postgres 9.1.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ It's impossible for everything to be true. +

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2011-09-06 17:43:26 Re: Can't use WITH in a PERFORM query in PL/pgSQL?
Previous Message Bruce Momjian 2011-09-06 17:13:56 Re: Can't use WITH in a PERFORM query in PL/pgSQL?

Browse pgsql-hackers by date

  From Date Subject
Next Message Oleg Bartunov 2011-09-06 17:34:23 Re: WIP: SP-GiST, Space-Partitioned GiST
Previous Message Tom Lane 2011-09-06 16:51:07 Re: Redundant bitmap index scans on smallint column