pg.ddx.io pgsql-hackers@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Tomas Vondra <tomas.vondra@enterprisedb.com>
To: Shinoda, Noriyoshi (PN Japan FSIP) <noriyoshi.shinoda@hpe.com>
To: Julien Rouhaud <rjuju123@gmail.com>
To: Tatsuro Yamada <tatsuro.yamada.tf@nttcom.co.jp>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Tomas Vondra <tomas.vondra@2ndquadrant.com>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: Pavel Stehule <pavel.stehule@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: list of extended statistics on psql
Date: Sun, 17 Jan 2021 03:01:34 +0100
Message-ID: <d876a1e3-9a6c-712e-7ab8-3dfa8a4cac1e@enterprisedb.com> (raw )
In-Reply-To: <TU4PR8401MB115239DC3FE567BE637F7544EEA50@TU4PR8401MB1152.NAMPRD84.PROD.OUTLOOK.COM >
References: <20210107144713.GA8872@alvherre.pgsql >
<61cba5af-5a58-6bda-610c-420077b780c3@enterprisedb.com >
<1045d2cb-7ecd-e6bf-cb50-8eeea89cc4b0@nttcom.co.jp_1 >
<9e76ce7a-e7ab-5f08-9938-59fffc20d106@enterprisedb.com >
<29e16ceb-8777-4297-19c8-245242dd7473@enterprisedb.com >
<876efa7e-2067-a4f9-d7e8-f6025440c870@nttcom.co.jp_1 >
<0e84aa72-25f2-1849-753f-f827949132b3@enterprisedb.com >
<85e7e1e7-c2f0-a4a0-61de-6e7ecaee44e3@nttcom.co.jp_1 >
<79d3a4c5-1efe-5b9e-c06e-3a907b531013@nttcom.co.jp_1 >
<20210115084741.GA91293@nol >
<2eb51458-7475-17d3-cb13-b3c950b2f930@enterprisedb.com >
<5e0fb573-3c38-ee39-885c-bdc01f116335@enterprisedb.com >
<TU4PR8401MB115239DC3FE567BE637F7544EEA50@TU4PR8401MB1152.NAMPRD84.PROD.OUTLOOK.COM >
On 1/17/21 2:41 AM, Shinoda, Noriyoshi (PN Japan FSIP) wrote:
> Hi, hackers.
>
> I tested this committed feature.
> It doesn't seem to be available to non-superusers due to the inability to access pg_statistics_ext_data.
> Is this the expected behavior?
>
Hmmm, that's a good point. Bummer we haven't noticed that earlier.
I wonder what the right fix should be - presumably we could do something
like pg_stats_ext (we can't use that view directly, because it formats
the data, so the sizes are different).
But should it list just the stats the user has access to, or should it
list everything and leave the inaccessible fields NULL?
regards
--
Tomas Vondra
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
view thread (75+ messages) latest in thread
Message-ID: <d876a1e3-9a6c-712e-7ab8-3dfa8a4cac1e@enterprisedb.com>
Permalink: ../d876a1e3-9a6c-712e-7ab8-3dfa8a4cac1e@enterprisedb.com/
Also on: postgresql.org/message-id/d876a1e3-9a6c-712e-7ab8-3dfa8a4cac1e@enterprisedb.com
copy link · copy postgr.es
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 using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: tomas.vondra@enterprisedb.com, noriyoshi.shinoda@hpe.com, rjuju123@gmail.com, tatsuro.yamada.tf@nttcom.co.jp, alvherre@2ndquadrant.com, tomas.vondra@2ndquadrant.com, michael@paquier.xyz, pavel.stehule@gmail.com, pgsql-hackers@lists.postgresql.org
Subject: Re: list of extended statistics on psql
In-Reply-To: <d876a1e3-9a6c-712e-7ab8-3dfa8a4cac1e@enterprisedb.com>
* 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