BUG #8586: Misleading fe_sendauth error message

Поиск
Список
Период
Сортировка
От mle+tools@mega-nerd.com
Тема BUG #8586: Misleading fe_sendauth error message
Дата
Msg-id E1VfiQd-0003QU-BP@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #8586: Misleading fe_sendauth error message
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      8586
Logged by:          Erik de Castro Lopo
Email address:      mle+tools@mega-nerd.com
PostgreSQL version: 9.3.1
Operating system:   Debian GNU LInux
Description:

Running the command:


    PGPASSFILE=pgpass psql --no-password --username myname mydb
--command="\dt"


works fine if the port number in the pgpass file is correct, but if the port
number is incorrect the error message is:


    psql: fe_sendauth: no password supplied


which is highly misleading. Surely the error message should be "connection
refused" or some such?

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #8524: PQsendQueryParams with RETURNING clause on a INSERT
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #8586: Misleading fe_sendauth error message