Re: My first revoke

From: "Fernando Moreno" <azazel(dot)7(at)gmail(dot)com>
To: "A B" <gentosaker(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: My first revoke
Date: 2008-09-25 18:24:31
Message-ID: b1c45530809251124g1588dbfdta09bb4b3011e8444@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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;

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Raymond O'Donnell 2008-09-25 18:41:21 Re: My first revoke
Previous Message Asko Oja 2008-09-25 18:16:30 Re: Oracle and Postgresql