Overly specific error message?

From: Rob Sargent <robjsargent(at)gmail(dot)com>
To: pgsql-jdbc(at)lists(dot)postgresql(dot)org
Subject: Overly specific error message?
Date: 2019-05-30 22:15:53
Message-ID: 4eaf5b40-ace4-18a1-ac3a-2ee72154e09d@gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Using PG 10.7 and JDBC org.postgresql:postgresql:42.1.4

I had only a single slash between postgresql: and the host

jdbc:postgresql:/some.host.name:5432

I got

org.postgresql.util.PSQLException: FATAL: password authentication
failed for user "some-name"

Naturally I tested and re-tested connecting manually as that user and
with the supplied password.  Eventually of course I started looking
around a little more thoroughly...

I wonder if the message needs to be specifically about password
authentication?

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2019-06-01 17:07:13 Re: Overly specific error message?
Previous Message Dave Cramer 2019-05-30 10:35:33 [pgjdbc/pgjdbc]