Re: [SQL] Permissons on database

Richard Huxton <dev@archonet.com>

From: dev@archonet.com
To: Boulat Khakimov <boulat@inet-interactif.com>
Cc: pgsql-sql@postgresql.org, pgsql-general@postgresql.org, pgsql-novice@postgresql.org
Date: 2001-03-06T17:26:12Z
Lists: pgsql-general
On 3/6/01, 5:00:47 PM, Boulat Khakimov <boulat@inet-interactif.com> wrote 
regarding [SQL] Permissons on database:

> Hi,

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

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

By hand at the moment I'm afraid. There is no GRANT ALL ON ALL...

Having said that, if you have plpgsql enabled on that database you could 
write a simple loop to do so for you. If you'd find one useful let me 
know and I'll knock one up.

 - Richard Huxton