]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix privileges on pg_statistic_ext.tableoid
authorTomas Vondra <tomas.vondra@postgresql.org>
Sun, 16 Jun 2019 10:04:40 +0000 (12:04 +0200)
committerTomas Vondra <tomas.vondra@postgresql.org>
Sun, 16 Jun 2019 10:12:16 +0000 (12:12 +0200)
commitfc8cf3df478e054b892f6698b6d336e72f3a7328
tree691c169aa100398c267314413b628f4abd00f0f7
parent7f44efa10b6ea3e5fd125e2800f357f38ab1068c
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
src/backend/catalog/system_views.sql