REVOKE ALL - Mailing list pgsql-general

From David Legault
Subject REVOKE ALL
Date
Msg-id e0b20d410702201615v10633233y9fbf84901a754b3a@mail.gmail.com
Whole thread Raw
Responses Re: REVOKE ALL  (Richard Huxton <dev@archonet.com>)
List pgsql-general
Hello,

Is there a way to revoke all privileges of a role without actually specifying the whole list of items.

Like if a role has privileges on FUNCTIONs, is there a REVOKE all FUNCTIONS. Is there a way to check if it has a GRANT in a particular type (CONNECT, FUNCTION, TRIGGER) before calling the REVOKE command?

Also, if I do a GRANT CONNECT ON DATABASE X TO Y, will Y be able to connect to other databases if I haven't given him permission to do so (what is the default value when a role is created since roles are global)?

Thanks

David

pgsql-general by date:

Previous
From: "Andrej Ricnik-Bay"
Date:
Subject: Re: can't stop the postmaster?
Next
From: Jan Wieck
Date:
Subject: Re: Database performance comparison paper.