Re: [SQL] Permissons on database - Mailing list pgsql-general

From Roland Roberts
Subject Re: [SQL] Permissons on database
Date
Msg-id m2puftmhwz.fsf@tycho.rlent.pnet
Whole thread Raw
In response to Permissons on database  (Boulat Khakimov <boulat@inet-interactif.com>)
List 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

Attachment

pgsql-general by date:

Previous
From: "Timothy H. Keitt"
Date:
Subject: Re: Data types?
Next
From: "Simon Crute"
Date:
Subject: Re: How robust is postgresql ?