Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eJ0dF-0006gP-5R for pgsql-bugs@arkaria.postgresql.org; Sun, 26 Nov 2017 17:22:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eJ0dD-0008V1-Un for pgsql-bugs@arkaria.postgresql.org; Sun, 26 Nov 2017 17:22:15 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eJ0dD-0008Ur-PU for pgsql-bugs@lists.postgresql.org; Sun, 26 Nov 2017 17:22:15 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eJ0d9-0002lK-0p for pgsql-bugs@postgresql.org; Sun, 26 Nov 2017 17:22:15 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id vAQHM713015974; Sun, 26 Nov 2017 12:22:07 -0500 From: Tom Lane To: =?UTF-8?Q?Jan_Przemys=C5=82aw_W=C3=B3jcik?= cc: pgsql-bugs@postgresql.org Subject: Re: Lack of information on materialized views in information_schema.table_privileges. In-reply-to: <1511687002490-0.post@n3.nabble.com> References: <1511687002490-0.post@n3.nabble.com> Comments: In-reply-to =?UTF-8?Q?Jan_Przemys=C5=82aw_W=C3=B3jcik?= message dated "Sun, 26 Nov 2017 02:03:22 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <15972.1511716927.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Sun, 26 Nov 2017 12:22:07 -0500 Message-ID: <15973.1511716927@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk =3D?UTF-8?Q?Jan_Przemys=3DC5=3D82aw_W=3DC3=3DB3jcik?=3D 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