From: Tom Lane <tgl@sss.pgh.pa.us>
To: Tomas Vondra <tomas.vondra@postgresql.org>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Rework the pg_statistic_ext catalog
Date: Sat, 15 Jun 2019 21:18:18 -0400
Message-ID: <8833.1560647898@sss.pgh.pa.us> (raw)
In-Reply-To: <E1hcHz2-0005mY-5A@gemulon.postgresql.org>
References: <E1hcHz2-0005mY-5A@gemulon.postgresql.org>
Tomas Vondra <tomas.vondra@postgresql.org> writes:
> Rework the pg_statistic_ext catalog
So ... not one of the buildfarm members that are running TAP tests
likes this. The failures look like
# Running: pg_dump --no-sync --file=/Users/tgl/pgsql/src/bin/pg_dump/tmp_check/tmp_test_cSh8/role.sql --role=regress_dump_test_role --schema=dump_test_second_schema postgres
pg_dump: error: query failed: ERROR: permission denied for table pg_statistic_ext
pg_dump: error: query was: SELECT tableoid, oid, stxname, stxnamespace, (SELECT rolname FROM pg_catalog.pg_roles WHERE oid = stxowner) AS rolname FROM pg_catalog.pg_statistic_ext
not ok 4576 - role: pg_dump runs
# Failed test 'role: pg_dump runs'
# at t/002_pg_dump.pl line 3418.
I think probably what's happening is that pg_dump is still trying to dump
directly from the catalog, when what it needs to do now is dump from the
view, in case it's not running as superuser.
regards, tom lane
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 using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us, tomas.vondra@postgresql.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Rework the pg_statistic_ext catalog
In-Reply-To: <8833.1560647898@sss.pgh.pa.us>
* 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