pg.ddx.io pgsql-jdbc@postgresql.org mailing list archive
help / color / mirror / Atom feedOverly specific error message?
2+ messages / 2 participants
[nested] [flat]
* Overly specific error message?
@ 2019-05-30 22:15 Rob Sargent <robjsargent@gmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: Rob Sargent @ 2019-05-30 22:15 UTC (permalink / raw)
To: pgsql-jdbc@lists.postgresql.org
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?
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Overly specific error message?
@ 2019-06-01 17:07 Dave Cramer <pg@fastcrypt.com>
parent: Rob Sargent <robjsargent@gmail.com>
0 siblings, 0 replies; 2+ messages in thread
From: Dave Cramer @ 2019-06-01 17:07 UTC (permalink / raw)
To: Rob Sargent <robjsargent@gmail.com>; +Cc: pgsql-jdbc@lists.postgresql.org
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
Dave Cramer
davec@postgresintl.com
www.postgresintl.com
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2019-06-01 17:07 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-05-30 22:15 Overly specific error message? Rob Sargent <robjsargent@gmail.com>
2019-06-01 17:07 ` Dave Cramer <pg@fastcrypt.com>
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