Revoke privilege from multiple tables - Mailing list pgsql-novice

From Aaron Dummer
Subject Revoke privilege from multiple tables
Date
Msg-id 00fa01c34420$191ae0e0$f0dc0a0a@aaron
Whole thread Raw
Responses Re: Revoke privilege from multiple tables
List pgsql-novice
Hello list,
 
I'd like to give a user only SELECT privileges, database-wide.  Is there an easy way to do this?  I could execute a REVOKE ALL PRIVILEGES command for each table, then execute a GRANT SELECT command for each table, but that is tedious.
 
It would be great to do something like this:
 
REVOKE ALL PRIVILEGES ON * FROM user_name
GRANT SELECT ON * TO user_name
 
Please help me.
 
Aaron Dummer

pgsql-novice by date:

Previous
From: Dennis Björklund
Date:
Subject: Re: [PERFORM] Extreme high load averages
Next
From: Michael Guerin
Date:
Subject: Multiple Resultsets