BUG #17216: No Password Provided Error - uncaught exception - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #17216: No Password Provided Error - uncaught exception
Date
Msg-id 17216-fa0d1504d9dd5b7c@postgresql.org
Whole thread Raw
Responses Re: BUG #17216: No Password Provided Error - uncaught exception  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      17216
Logged by:          cliff sizer
Email address:      cliffsizer@gmail.com
PostgreSQL version: 14.0
Operating system:   Debian 14.0-1.pgdg110+1 on x86_64-pc-linux-gnu
Description:

Using connecting to the pg database 14.0 using jdbc (driver 42.2.24) and no
password (empty) is specified the following error message is returned
"Something unusual has occurred to cause the driver to fail. Please report
this exception." In previous versions (13.4) the password specific error
message is returned "The server requested password-based authentication, but
no password was provided"

The password specific exception is expected rather than the generic message.
According to the release notes the following new feature has been
implemented:

E.1.3.1.8. Authentication - Allow passwords of an arbitrary length (Tom
Lane, Nathan Bossart)


pgsql-bugs by date:

Previous
From: James Robinson
Date:
Subject: Re: BUG #17215: ltree tests failing in REL_14_STABLE / commit cb8a5a588
Next
From: Dimitri Fontaine
Date:
Subject: pg_replication_slot_advance xmin handling when active slot becomes inactive