Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kkXMQ-0000To-CF for pgsql-admin@arkaria.postgresql.org; Wed, 02 Dec 2020 19:00:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kkXMN-000642-RR for pgsql-admin@arkaria.postgresql.org; Wed, 02 Dec 2020 19:00:15 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kkXMN-00063r-K5 for pgsql-admin@lists.postgresql.org; Wed, 02 Dec 2020 19:00:15 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kkXML-00046s-2p for pgsql-admin@postgresql.org; Wed, 02 Dec 2020 19:00:14 +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 0B2J0B581668282; Wed, 2 Dec 2020 14:00:11 -0500 From: Tom Lane To: John Scalia cc: pgsql-admin Subject: Re: Seeing privileges on a schema In-reply-to: <19031B53-2D47-407B-9F85-60E303F2ABCA@gmail.com> References: <19031B53-2D47-407B-9F85-60E303F2ABCA@gmail.com> Comments: In-reply-to John Scalia message dated "Wed, 02 Dec 2020 13:52:18 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <1668280.1606935611.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Wed, 02 Dec 2020 14:00:11 -0500 Message-ID: <1668281.1606935611@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk John Scalia writes: > In psql, I know that \dp or \dpp will show me which privileges are grant= ed on tables, views, sequences, and functions, what it doesn=E2=80=99t app= ear to be able to do, is show me what privileges are in the schema itself,= like if I grant usage on a schema. Then a \dpp doesn=E2=80=99t produce an= ything. Is there an easy way to see what privileges are on a schema? \dn+ includes that. regards, tom lane