REVOKE ALL

From: "David Legault" <legault(dot)david(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: REVOKE ALL
Date: 2007-02-21 00:15:19
Message-ID: e0b20d410702201615v10633233y9fbf84901a754b3a@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jan Wieck 2007-02-21 01:10:56 Re: Database performance comparison paper.
Previous Message Andrej Ricnik-Bay 2007-02-21 00:07:16 Re: can't stop the postmaster?