[pgjdbc/pgjdbc] c19fab: fix: return metadata privileges for views and fore...

From: Jeremy Mailen <noreply(at)github(dot)com>
To: pgsql-jdbc(at)lists(dot)postgresql(dot)org
Subject: [pgjdbc/pgjdbc] c19fab: fix: return metadata privileges for views and fore...
Date: 2021-02-13 14:42:26
Message-ID: pgjdbc/pgjdbc/push/refs/heads/master/82581e-545998@github.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Branch: refs/heads/master
Home: https://github.com/pgjdbc/pgjdbc
Commit: c19fabadcd81caf3afe3ab7d7b70aa35b66917b7
https://github.com/pgjdbc/pgjdbc/commit/c19fabadcd81caf3afe3ab7d7b70aa35b66917b7
Author: Jeremy Mailen <jeremy(at)divebell(dot)com>
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: 77839a33ef05bf7f9006a722b1cf0faef78c3691
https://github.com/pgjdbc/pgjdbc/commit/77839a33ef05bf7f9006a722b1cf0faef78c3691
Author: Jeremy Mailen <jeremy(at)divebell(dot)com>
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: 54599839b5af4ed91a9e56eb9e6d6553beaf49a5
https://github.com/pgjdbc/pgjdbc/commit/54599839b5af4ed91a9e56eb9e6d6553beaf49a5
Author: Jeremy Mailen <jeremy(at)divebell(dot)com>
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/82581e4da525...54599839b5af

Browse pgsql-jdbc by date

  From Date Subject
Next Message Jeremy Mailen 2021-02-13 15:02:56 [pgjdbc/pgjdbc] 666908: fix: return metadata privileges for views and fore...
Previous Message Gunnar "Nick" Bluth 2021-02-12 12:50:03 Support for SRV-DNS records?