Re: Access Privileges - Mailing list pgsql-novice

From Bruno Wolff III
Subject Re: Access Privileges
Date
Msg-id 20031016174033.GE28009@wolff.to
Whole thread Raw
In response to Access Privileges  (David Rickard <David.Rickard@GTScompanies.com>)
List pgsql-novice
On Thu, Oct 16, 2003 at 10:15:47 -0700,
  David Rickard <David.Rickard@GTScompanies.com> wrote:
> Is there any shorthand for granting access privileges (select etc) to all
> of the tables/views in a database or schema en masse? I have attempted
> "grant select on <schema>.* to <user>" and get "ERROR:  Relation
> "<schema>"."*" does not exist" as a result;

No. You can write a script to get a list of tables (and whatever other
objects you want) and then issue a grant statement for each table.

pgsql-novice by date:

Previous
From: David Rickard
Date:
Subject: Date Formats and Conversions
Next
From: Bruno Wolff III
Date:
Subject: Re: Date Formats and Conversions