Re: Overly specific error message?

Поиск
Список
Период
Сортировка
От Dave Cramer
Тема Re: Overly specific error message?
Дата
Msg-id CADK3HHJYCUBOv5QkMAgExLfCq6_97mQq5xHQ6uJgae5VOjX2tQ@mail.gmail.com
обсуждение исходный текст
Ответ на Overly specific error message?  (Rob Sargent <robjsargent@gmail.com>)
Список pgsql-jdbc

On Thu, 30 May 2019 at 18:16, Rob Sargent <robjsargent@gmail.com> wrote:

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?


Interesting. 

My guess it it parsed the URL and did *something* and presented it to the server

Off the top of my head parsing should be fixed



 

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

Предыдущее
От: Rob Sargent
Дата:
Сообщение: Overly specific error message?
Следующее
От: maltalex
Дата:
Сообщение: [pgjdbc/pgjdbc] 1970c4: Make LogSequenceNumber implementComparable