Re: Privileges on public schema can't be revoked?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Stephen Frost <sfrost(at)snowman(dot)net>
Cc: Greg Fodor <gfodor(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Privileges on public schema can't be revoked?
Date: 2016-09-06 20:32:30
Message-ID: 18465.1473193950@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Stephen Frost <sfrost(at)snowman(dot)net> writes:
> \dn+ in psql will give you the access privileges for all schemas.

> I'd have to look at the "other solutions" you're referring to, but, in
> general, we do not exclude the public role in any way from the access
> privilege system.

Possibly Greg was thinking of the information_schema views. Grants to
PUBLIC do show up in those. The problem is that there's no view there
that covers schema privileges, probably because the SQL standard doesn't
really have any such thing as grantable schema privileges. (Or at least
it didn't last I heard, I might be out of date.)

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ashish Chauhan 2016-09-06 21:10:52 Setup pgpool-II with streaming replication
Previous Message Stephen Frost 2016-09-06 20:23:49 Re: Privileges on public schema can't be revoked?