Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VfiQo-0005br-86 for pgsql-bugs@arkaria.postgresql.org; Mon, 11 Nov 2013 03:44:54 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VfiQn-0007pt-O1 for pgsql-bugs@arkaria.postgresql.org; Mon, 11 Nov 2013 03:44:53 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VfiQm-0007pm-R4 for pgsql-bugs@postgresql.org; Mon, 11 Nov 2013 03:44:52 +0000 Received: from mahout.postgresql.org ([2001:4800:7903:4::123]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VfiQk-000861-5E for pgsql-bugs@postgresql.org; Mon, 11 Nov 2013 03:44:52 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by mahout.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VfiQj-0002PM-Bd for pgsql-bugs@postgresql.org; Mon, 11 Nov 2013 03:44:49 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.80) (envelope-from ) id 1VfiQd-0003QU-BP for pgsql-bugs@postgresql.org; Mon, 11 Nov 2013 03:44:43 +0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: BUG #8586: Misleading fe_sendauth error message To: pgsql-bugs@postgresql.org From: mle+tools@mega-nerd.com Message-Id: Date: Mon, 11 Nov 2013 03:44:43 +0000 X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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