pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jan Przemysław Wójcik <jan.przemyslaw.wojcik@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Lack of information on materialized views in information_schema.table_privileges.
Date: Sun, 26 Nov 2017 12:22:07 -0500
Message-ID: <15973.1511716927@sss.pgh.pa.us> (raw)
In-Reply-To: <1511687002490-0.post@n3.nabble.com>
References: <1511687002490-0.post@n3.nabble.com>

=?UTF-8?Q?Jan_Przemys=C5=82aw_W=C3=B3jcik?= <jan.przemyslaw.wojcik@gmail.com> writes:
> information_schema.table_privileges does not show privileges on the view:

AFAIK, no information_schema view shows anything at all about matviews.
This is intentional because matviews aren't SQL-standard objects.
It's therefore unclear how they should be represented in
information_schema (eg, do they belong in the tables view or the views
view, and if the former, what is their table_type?).  Our project policy
is that rather than inventing extensions to the information_schema
standard, we just don't show nonstandard objects in information_schema.

			regards, tom lane




view thread (3+ messages)  latest in thread

Message-ID: <15973.1511716927@sss.pgh.pa.us>
Permalink:  ../15973.1511716927@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/15973.1511716927@sss.pgh.pa.us

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, jan.przemyslaw.wojcik@gmail.com
  Subject: Re: Lack of information on materialized views in information_schema.table_privileges.
  In-Reply-To: <15973.1511716927@sss.pgh.pa.us>
  References: <1511687002490-0.post@n3.nabble.com> <15973.1511716927@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