public inbox for [email protected]  
help / color / mirror / Atom feed
From: Vinhson Nguyen <[email protected]>
To: [email protected] <[email protected]>
Cc: [email protected] <[email protected]>
Subject: PostgreSQL JDBC 42.7.5 returns an unexpected catalog name
Date: Fri, 28 Mar 2025 18:24:22 +0000
Message-ID: <DM6PR15MB4107ADBFB245342C6A6AA03FB4A02@DM6PR15MB4107.namprd15.prod.outlook.com> (raw)

1) Problem Description:  
When upgrading our application to a new PostgreSQL JDBC driver 42.7.5 (from 42.7.4), we got an expected catalog name in the result set returned by DatabaseMetadata.getSchemas().

Expected catalog name:  null (42.7.4) 
Unexpected catalog name:  dbcert (42.7.5)

2) Connection Info:
URL used:
jdbc:postgresql://cteds721.fyre.ibm.com:54172/dbcert

Driver name/Version:
org.postgresql.Driver/postgresql-42.7.5.jar

userID/pw: dbcert1/***********

3) Attachements:
a) PG_JDBC_42_7_4.PNG:  Screenshot showing an expected catalog name (null) with driver version 42.7.4.
b) PG_JDBC_42_7_5.PNG:  Screenshot showing an unexpected catalog name (dbcert) with driver version 42.7.5.
c) ImportTest.java:  Java test program used in (a) and (b).

If you need any additional details, please let me know.

Thank you in advance!
Vinhson Nguyen




Attachments:

  [application/octet-stream] ImportTest.java (2.0K, 2-ImportTest.java)
  download

  [image/png] PG_JDBC_42_7_4.PNG (166.3K, 3-PG_JDBC_42_7_4.PNG)
  download | view image

  [image/png] PG_JDBC_42_7_5.PNG (167.9K, 4-PG_JDBC_42_7_5.PNG)
  download | view image

view thread (3+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: PostgreSQL JDBC 42.7.5 returns an unexpected catalog name
  In-Reply-To: <DM6PR15MB4107ADBFB245342C6A6AA03FB4A02@DM6PR15MB4107.namprd15.prod.outlook.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox