pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeremy Mailen <noreply@github.com>
To: pgsql-jdbc@lists.postgresql.org
Subject: [pgjdbc/pgjdbc] c19fab: fix: return metadata privileges for views and fore...
Date: Sat, 13 Feb 2021 06:42:26 -0800
Message-ID: <pgjdbc/pgjdbc/push/refs/heads/master/82581e-545998@github.com> (raw)

  Branch: refs/heads/master
  Home:   https://github.com/pgjdbc/pgjdbc
  Commit: c19fabadcd81caf3afe3ab7d7b70aa35b66917b7
      https://github.com/pgjdbc/pgjdbc/commit/c19fabadcd81caf3afe3ab7d7b70aa35b66917b7
  Author: Jeremy Mailen <jeremy@divebell.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@divebell.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@divebell.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





Message-ID: <pgjdbc/pgjdbc/push/refs/heads/master/82581e-545998@github.com>
Permalink:  ../pgjdbc%2Fpgjdbc%2Fpush%2Frefs%2Fheads%2Fmaster%2F82581e-545998@github.com/
Also on:    postgresql.org/message-id/pgjdbc/pgjdbc/push/refs/heads/master/82581e-545998@github.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: noreply@github.com
  Subject: Re: [pgjdbc/pgjdbc] c19fab: fix: return metadata privileges for views and fore...
  In-Reply-To: <pgjdbc/pgjdbc/push/refs/heads/master/82581e-545998@github.com>
  References: <pgjdbc/pgjdbc/push/refs/heads/master/82581e-545998@github.com>

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

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