Fix privileges on pg_statistic_ext.tableoid

Tomas Vondra <tomas.vondra@postgresql.org>

Commit: fc8cf3df478e054b892f6698b6d336e72f3a7328
Author: Tomas Vondra <tomas.vondra@postgresql.org>
Date: 2019-06-16T10:12:16Z
Releases: 12.0
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

Files

PathChange+/−
src/backend/catalog/system_views.sql modified +1 −1

Discussion

Cited messages not in the archive: 8833.1560647898@sss.pgh.pa.us