pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tomas Vondra <tomas.vondra@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix privileges on pg_statistic_ext.tableoid
Date: Sun, 16 Jun 2019 10:12:31 +0000
Message-ID: <E1hcS9H-0002YJ-6P@gemulon.postgresql.org> (raw)

Fix privileges on pg_statistic_ext.tableoid

The GRANT in system_views allowed SELECT privileges on various columns in
the pg_statistic_ext catalog, but tableoid was not included in the list.
That made pg_dump fail because it's accessing this column when building
the list of extended statistics to dump.

Discussion: https://postgr.es/m/8833.1560647898%40sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/fc8cf3df478e054b892f6698b6d336e72f3a7328

Modified Files
--------------
src/backend/catalog/system_views.sql | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



Message-ID: <E1hcS9H-0002YJ-6P@gemulon.postgresql.org>
Permalink:  ../E1hcS9H-0002YJ-6P@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1hcS9H-0002YJ-6P@gemulon.postgresql.org

 · 

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-committers@postgresql.org
  Cc: tomas.vondra@postgresql.org
  Subject: Re: pgsql: Fix privileges on pg_statistic_ext.tableoid
  In-Reply-To: <E1hcS9H-0002YJ-6P@gemulon.postgresql.org>
  References: <E1hcS9H-0002YJ-6P@gemulon.postgresql.org>

* 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