Re: [SQL] Permissons on database

Поиск
Список
Период
Сортировка
От Roland Roberts
Тема Re: [SQL] Permissons on database
Дата
Msg-id m2puftmhwz.fsf@tycho.rlent.pnet
обсуждение исходный текст
Ответ на Permissons on database  (Boulat Khakimov <boulat@inet-interactif.com>)
Список pgsql-general
>>>>> "bk" == Boulat Khakimov <boulat@inet-interactif.com> writes:

    bk> How do I grant permissions on everything in the selected
    bk> databes?

    bk> GRANT doesnt take as on object database name nor does it
    bk> accept wild chars....

Attached is some Perl code I wrote long ago to do this.  This
particular code was done for Keystone, a problem tracking database and
it would do a "GRANT ALL".  Modify it as needed.  Last I checked it
worked with both PostgreSQL 6.5.x and 7.0.x


roland
--
               PGP Key ID: 66 BC 3B CD
Roland B. Roberts, PhD                             RL Enterprises
roland@rlenter.com                     76-15 113th Street, Apt 3B
rbroberts@acm.org                          Forest Hills, NY 11375

Вложения

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

Предыдущее
От: "Timothy H. Keitt"
Дата:
Сообщение: Re: Data types?
Следующее
От: "Simon Crute"
Дата:
Сообщение: Re: How robust is postgresql ?