Re: My first revoke - Mailing list pgsql-general

From Fernando Moreno
Subject Re: My first revoke
Date
Msg-id b1c45530809251124g1588dbfdta09bb4b3011e8444@mail.gmail.com
Whole thread Raw
In response to My first revoke  ("A B" <gentosaker@gmail.com>)
Responses Re: My first revoke
List pgsql-general
Hi, first of all, a new role doesn't have any privilege on any table (every type of database object has different default privileges), so you only have to grant select on the tables you want, and yes, one by one.

You can also grant or revoke privileges this way: grant select on table1,table2,table3...tableN to my_role;

pgsql-general by date:

Previous
From: "Asko Oja"
Date:
Subject: Re: Oracle and Postgresql
Next
From: Casey Allen Shobe
Date:
Subject: Re: Oracle and Postgresql