Re: [GENERAL] GRANT ALL ON * TO username?

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Ed Loehr <eloehr(at)austin(dot)rr(dot)com>
Cc: pg-gen <pgsql-general(at)postgresql(dot)org>
Subject: Re: [GENERAL] GRANT ALL ON * TO username?
Date: 2000-01-16 17:14:00
Message-ID: Pine.LNX.4.21.0001152020430.386-100000@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2000-01-14, Ed Loehr mentioned:

> I'd like to grant read-access to every single DB object in a database
> for one user. I'd hoped for
>
> GRANT SELECT ON * TO <username>
>
> but the '*' syntax is wrong and I don't see an alternative in the
> docs...
>
> How is this done?

The standard doesn't allow this either. You'd have to do some scripting
magic.

--
Peter Eisentraut Sernanders väg 10:115
peter_e(at)gmx(dot)net 75262 Uppsala
http://yi.org/peter-e/ Sweden

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Peter Eisentraut 2000-01-16 17:14:08 Re: [GENERAL] cgi with postgres
Previous Message Peter Eisentraut 2000-01-16 17:13:56 Re: [GENERAL] cgi with postgres