Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t1XsI-00Glws-Ah for pgsql-admin@arkaria.postgresql.org; Thu, 17 Oct 2024 21:17:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1t1XsG-00AJoz-Mp for pgsql-admin@arkaria.postgresql.org; Thu, 17 Oct 2024 21:17:37 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t1XsG-00AJoA-Br for pgsql-admin@lists.postgresql.org; Thu, 17 Oct 2024 21:17:36 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t1XsA-001Qbb-CP for pgsql-admin@lists.postgresql.org; Thu, 17 Oct 2024 21:17:35 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 49HLHTSd717066; Thu, 17 Oct 2024 17:17:29 -0400 From: Tom Lane To: "Wong, Kam Fook (TR Technology)" cc: Pgsql-admin Subject: Re: [EXT] Re: 101 Grants and Access Right Table/View In-reply-to: References: <704895.1729194519@sss.pgh.pa.us> Comments: In-reply-to "Wong, Kam Fook (TR Technology)" message dated "Thu, 17 Oct 2024 21:09:01 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <717064.1729199849.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 17 Oct 2024 17:17:29 -0400 Message-ID: <717065.1729199849@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk "Wong, Kam Fook (TR Technology)" writes: > These are existing objects/tables. So I assume after the grants were ru= n, the information_schema.role_table_grants and information_schema.usage= _privileges shouldn't be blank right/now rows return? Maybe. I believe both of those views will only show information about grants where you (the user reading the view) are grantor or grantee. You've not provided any details about your test setup ... regards, tom lane