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] 666908: fix: return metadata privileges for views and fore...
Date: Sat, 13 Feb 2021 07:02:56 -0800
Message-ID: <pgjdbc/pgjdbc/push/refs/heads/release/42.2/1bd679-a6cf67@github.com> (raw)

  Branch: refs/heads/release/42.2
  Home:   https://github.com/pgjdbc/pgjdbc
  Commit: 66690817f4b8926f8ab47a104538970c6c5e0dd3
      https://github.com/pgjdbc/pgjdbc/commit/66690817f4b8926f8ab47a104538970c6c5e0dd3
  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: f5abc65c813f6564a7b9c5a6a2a96a9ccc2f8dde
      https://github.com/pgjdbc/pgjdbc/commit/f5abc65c813f6564a7b9c5a6a2a96a9ccc2f8dde
  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: a6cf67d24bc698f62e43867f5aa61383b386e74c
      https://github.com/pgjdbc/pgjdbc/commit/a6cf67d24bc698f62e43867f5aa61383b386e74c
  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/1bd679e84edf...a6cf67d24bc6





Message-ID: <pgjdbc/pgjdbc/push/refs/heads/release/42.2/1bd679-a6cf67@github.com>
Permalink:  ../pgjdbc%2Fpgjdbc%2Fpush%2Frefs%2Fheads%2Frelease%2F42.2%2F1bd679-a6cf67@github.com/
Also on:    postgresql.org/message-id/pgjdbc/pgjdbc/push/refs/heads/release/42.2/1bd679-a6cf67@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] 666908: fix: return metadata privileges for views and fore...
  In-Reply-To: <pgjdbc/pgjdbc/push/refs/heads/release/42.2/1bd679-a6cf67@github.com>
  References: <pgjdbc/pgjdbc/push/refs/heads/release/42.2/1bd679-a6cf67@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