Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lAwRr-0001Ky-1Q for pgsql-jdbc@arkaria.postgresql.org; Sat, 13 Feb 2021 15:03:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lAwRo-0005NY-Rp for pgsql-jdbc@arkaria.postgresql.org; Sat, 13 Feb 2021 15:03:00 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lAwRo-0005NR-M2 for pgsql-jdbc@lists.postgresql.org; Sat, 13 Feb 2021 15:03:00 +0000 Received: from out-28.smtp.github.com ([192.30.252.211]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lAwRl-0001kK-PK for pgsql-jdbc@lists.postgresql.org; Sat, 13 Feb 2021 15:02:59 +0000 Received: from github.com (hubbernetes-node-3c28d8a.ash1-iad.github.net [10.56.110.63]) by smtp.github.com (Postfix) with ESMTPA id 97C3C90001B for ; Sat, 13 Feb 2021 07:02:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1613228576; bh=E0rJeKoq06/ZYHmXjrLdTCHTZSzQMX3ZW4zHwSYxsBE=; h=Date:From:To:Subject:From; b=oesjpyXKiNqtUlmvDnizxmcXlnMl5iudIc/tefx90Wx7D8vzREz8LolrjHL9XKtWd dYfI9Kwv6nJM5N/UWEKt3s/4vVWNrwIX08gtCSVMmQIQbB9UMFqJ6fRsqT3npyX/cf Cg8wsWXZKTJi0qqq21Ta4yWTsVbKODQ9jYaXVjZA= Date: Sat, 13 Feb 2021 07:02:56 -0800 From: Jeremy Mailen To: pgsql-jdbc@lists.postgresql.org Message-ID: Subject: [pgjdbc/pgjdbc] 666908: fix: return metadata privileges for views and fore... Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Approved: 58GruLoMopuc X-GitHub-Recipient-Address: pgsql-jdbc@lists.postgresql.org X-Auto-Response-Suppress: All List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Branch: refs/heads/release/42.2 Home: https://github.com/pgjdbc/pgjdbc Commit: 66690817f4b8926f8ab47a104538970c6c5e0dd3 https://github.com/pgjdbc/pgjdbc/commit/66690817f4b8926f8ab47a104538970c6c5e0dd3 Author: Jeremy Mailen Date: 2021-02-13 (Sat, 13 Feb 2021) Changed paths: M pgjdbc/src/main/java/org/postgresql/jdbc/PgDatabaseMetaData.java Log Message: ----------- fix: return metadata privileges for views and foreign tables As discussed in the issue, include the overlooked types as part of the metadata impl. Securable objects which are returned by getTables() should also work in getTablePrivileges(). Fixes #2048 Commit: f5abc65c813f6564a7b9c5a6a2a96a9ccc2f8dde https://github.com/pgjdbc/pgjdbc/commit/f5abc65c813f6564a7b9c5a6a2a96a9ccc2f8dde Author: Jeremy Mailen Date: 2021-02-13 (Sat, 13 Feb 2021) Changed paths: M pgjdbc/src/test/java/org/postgresql/test/TestUtil.java Log Message: ----------- refactor: consolidate repeated drop code in TestUtil Commit: a6cf67d24bc698f62e43867f5aa61383b386e74c https://github.com/pgjdbc/pgjdbc/commit/a6cf67d24bc698f62e43867f5aa61383b386e74c Author: Jeremy Mailen Date: 2021-02-13 (Sat, 13 Feb 2021) Changed paths: M pgjdbc/src/test/java/org/postgresql/test/TestUtil.java M pgjdbc/src/test/java/org/postgresql/test/jdbc2/DatabaseMetaDataTest.java Log Message: ----------- test: Add test for ACLs returned from metadata getTablePrivileges() for views Compare: https://github.com/pgjdbc/pgjdbc/compare/1bd679e84edf...a6cf67d24bc6