From: mle+tools@mega-nerd.com
To: pgsql-bugs@postgresql.org
Subject: BUG #8586: Misleading fe_sendauth error message
Date: Mon, 11 Nov 2013 03:44:43 +0000
Message-ID: <E1VfiQd-0003QU-BP@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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?
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: mle+tools@mega-nerd.com
Subject: Re: BUG #8586: Misleading fe_sendauth error message
In-Reply-To: <E1VfiQd-0003QU-BP@wrigleys.postgresql.org>
References: <E1VfiQd-0003QU-BP@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox