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

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: BUG #5957: createdb with description and md5 auth forces to provide password twice
Дата
Msg-id 201109061724.p86HO8b12420@momjian.us
обсуждение исходный текст
Ответ на BUG #5957: createdb with description and md5 auth forces to provide password twice  ("Grzegorz Szpetkowski" <gszpetkowski@gmail.com>)
Список pgsql-bugs
Grzegorz Szpetkowski wrote:
>
> 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).

FYI, this will be fixed in Postgres 9.1.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

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

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Can't use WITH in a PERFORM query in PL/pgSQL?
Следующее
От: Denish Patel
Дата:
Сообщение: Re: psql doesn't reuse -p after backend fail