Re: Grant on several tables at once

Поиск
Список
Период
Сортировка
Искать
От
Andreas Pflug
Тема
Re: Grant on several tables at once
Дата
Msg-id
3F2ACA3F.10800@pse-consulting.de
Ответ на
Список
Дерево обсуждения
Grant on several tables at once MaRcElO PeReIrA <gandalf_mp@yahoo.com.br>
Re: Grant on several tables at once sforteln@fhcrc.org
Re: Grant on several tables at once Andreas Pflug <pgadmin@pse-consulting.de>
Re: Grant on several tables at once Rajesh Kumar Mallah <mallah@trade-india.com>
Re: Grant on several tables at once Ang Chin Han <angch@bytecraft.com.my>
MaRcElO PeReIrA wrote:

> Hello All,
>
> I have a database that contain 72 tables. How can I grant "SELECT" on 
> all those 72 tables to a user, at once?
>
> I use to do:
>
> # grant select on table1 to marcelo;
> # grant select on table2 to marcelo;
> # ...
> # grant select on table72 to marcelo;
>
> but it is a lot of tables... I would like to do this at once!
>
> Thanks in advance and
> Best Regards,
>
> Marcelo


Hi Marcelo,
you will need a tool for that. pgAdmin2 (win32 only) can grant on  
multiple objects at once, pgAdmin3 lacks this feature at the moment.

Regards,
Andreas

В списке pgsql-admin по дате отправления
От: Rajesh Kumar Mallah
Дата:
От: sforteln@fhcrc.org
Дата:
FAQ