Re: Grant on multiple objects

Поиск
Список
Период
Сортировка
От Jason Dixon
Тема Re: Grant on multiple objects
Дата
Msg-id 0F58FC76-5C2C-11D9-AF1C-000D93C63BA8@dixongroup.net
обсуждение исходный текст
Ответ на Re: Grant on multiple objects  (Bruno Wolff III <bruno@wolff.to>)
Список pgsql-novice
On Jan 1, 2005, at 2:18 PM, Bruno Wolff III wrote:

> On Sat, Jan 01, 2005 at 11:04:16 -0500,
>   Jason Dixon <jason@dixongroup.net> wrote:
>> Is it possible to GRANT permissions on multiple objects at once?  I
>> would like to assign limited permissions on multiple objects (tables,
>> indices, sequences in the same database) without granting full
>> ownership.  For example, something like this:
>
> Yes, but not the way you want. You can list multiple objects of the
> same
> type when issuing a GRANT command. However you can't use a query in the
> GRANT statement to generate the list. If you are doing this
> programatically
> you could do a select for each type and use the results to build GRANT
> statements.

Thanks for clarifying this.  I guess I'll write a DBD::Pg script to
automate much of the work.

--
Jason Dixon
DixonGroup Consulting
http://www.dixongroup.net



В списке pgsql-novice по дате отправления:

Предыдущее
От: Bruno Wolff III
Дата:
Сообщение: Re: Grant on multiple objects
Следующее
От: "K Anderson"
Дата:
Сообщение: LOOping clobbering variable