Re: Possible PostgreSQL 8.3beta4 bug with MD5 authentication in psql?
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Possible PostgreSQL 8.3beta4 bug with MD5 authentication in psql? |
| Дата | |
| Msg-id | 20625.1197043420@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Possible PostgreSQL 8.3beta4 bug with MD5 authentication in psql? (Dave Page <dpage@postgresql.org>) |
| Ответы |
Re: Possible PostgreSQL 8.3beta4 bug with MD5
authentication in psql?
|
| Список | pgsql-hackers |
Dave Page <dpage@postgresql.org> writes:
> Just to add a note to that - when running it in the same shell from
> which I started the server with messages going to stdout, it seemed
> clear that it trys to connect once using PGPASSWORD, then when that
> fails, it prompts for the password instead, and then tries to connect
> with that and fails a second time.
Hmmm ... it seems the problem is that we've defined
PQconnectionUsedPassword in such a way that it returns true (causing a
prompt) regardless of whether the reason for the connection failure was
a bad password or not. We might need to reconsider that API.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера