BUG #19043: jdbc connection url is not case insensitive

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: m(dot)kristo(at)rewe-group(dot)at
Subject: BUG #19043: jdbc connection url is not case insensitive
Date: 2025-09-05 06:28:15
Message-ID: 19043-e6955a06c7befbf7@postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 19043
Logged by: Marijo Kristo
Email address: m(dot)kristo(at)rewe-group(dot)at
PostgreSQL version: 17.6
Operating system: Linux
Description:

Hello,

when creating a database in Postgres with the name e.g. "testDB", postgres
creates a database in lowercase testdb.
So far so good, but when trying to connect via psql and passing as database
name "testDB" the connection fails, because it says the database does not
exists.
In my opinion, the libq library should also be case insensitive and
automatically convert this to a lowercase "testdb" and not return an error.

What are your thoughts ?

Best Regards
Ing. Marijo Kristo

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Laurenz Albe 2025-09-05 12:17:33 Re: BUG #19034: Recursive function with sql_body can replace an existing function but can not be created on it's own
Previous Message 李海洋 (陌痕) 2025-09-05 05:13:20 回复:BUG #19040: Memory leak in hashed subplan node due to missing hashtempcxt reset