Re: pgsql: Rework the pg_statistic_ext catalog - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql: Rework the pg_statistic_ext catalog
Date
Msg-id 13719.1560693280@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgsql: Rework the pg_statistic_ext catalog  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
List pgsql-committers
Tomas Vondra <tomas.vondra@2ndquadrant.com> writes:
> Anyway, I'm wondering if we need the REVOKE/GRANT on pg_statistic_ext at
> all, and if we do if we should just remove the list of columns, and
> grant SELECT on all. All the sensitive columns were moved to another
> catalog, after all.

+1.  Per-column permissions checks seem pointlessly inefficient here.

> That also reminds me the patch should have revoked access to the new
> _data catalog.

Uh ... yeah.

            regards, tom lane



pgsql-committers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: pgsql: Rework the pg_statistic_ext catalog
Next
From: Tom Lane
Date:
Subject: Re: pgsql: Rework the pg_statistic_ext catalog