Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1quA34-00Gibp-2Z for pgsql-jdbc-commits@arkaria.postgresql.org; Sat, 21 Oct 2023 11:21:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1quA31-00087D-RK for pgsql-jdbc-commits@arkaria.postgresql.org; Sat, 21 Oct 2023 11:21:40 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1quA31-000875-EH for pgsql-jdbc-commits@lists.postgresql.org; Sat, 21 Oct 2023 11:21:40 +0000 Received: from out-24.smtp.github.com ([192.30.252.207]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1quA2x-001t53-1K for pgsql-jdbc-commits@lists.postgresql.org; Sat, 21 Oct 2023 11:21:39 +0000 Received: from github.com (hubbernetes-node-7233614.ac4-iad.github.net [10.52.138.29]) by smtp.github.com (Postfix) with ESMTPA id B02A81E0421 for ; Sat, 21 Oct 2023 04:21:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2023; t=1697887292; bh=ynXAbqxlaIJiV+8opTn7KMsAW7Hc3QRlXRWPXYmXgTQ=; h=Date:From:To:Subject:From; b=WE5OsJyfz0nIWlyWiqcU5Hx+FCto/m1hcZ8LglbNW7alZncGww5yQyyCtnA6W3NSi Q8L2gGQdr0Lv+zBvAsOR6B3bv62epazdOG2rebPRHBC8Zi0SZVCnA71iSB4S2ZIlOh CEeDiP8rQX0vJ7qbirDFvQ2ilx+NQUBspUCWSJUQ= Date: Sat, 21 Oct 2023 04:21:32 -0700 From: pip25 To: pgsql-jdbc-commits@lists.postgresql.org Message-ID: Subject: [pgjdbc/pgjdbc] 9ea59b: feat: return all catalogs for getCatalogs metadata... Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Approved: 58GruLoMopuc X-GitHub-Recipient-Address: pgsql-jdbc-commits@lists.postgresql.org X-Auto-Response-Suppress: All List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Branch: refs/heads/master Home: https://github.com/pgjdbc/pgjdbc Commit: 9ea59bd87f7920f1c2aba20ffef15acef85def60 https://github.com/pgjdbc/pgjdbc/commit/9ea59bd87f7920f1c2aba20ffef= 15acef85def60 Author: pip25 Date: 2023-10-21 (Sat, 21 Oct 2023) Changed paths: M pgjdbc/src/main/java/org/postgresql/jdbc/PgDatabaseMetaData.java M pgjdbc/src/test/java/org/postgresql/test/jdbc2/DatabaseMetaDataTest= .java Log Message: ----------- feat: return all catalogs for getCatalogs metadata query (#2949) (#2953= ) Use the pg.catalog.pg_database table present in all catalogs to return the list of available catalogs, instead of just the current one the connection uses. The table is filtered to include only the catalogs that can be connected to. closes pgjdbc#2949 Co-authored-by: Papp Istv=C3=A1n P=C3=A9ter