| From: | Bruno Wolff III <bruno(at)wolff(dot)to> |
|---|---|
| To: | David Rickard <David(dot)Rickard(at)GTScompanies(dot)com> |
| Cc: | pgsql-novice(at)postgresql(dot)org, Judith Strawser <judiths(at)GTScompanies(dot)com> |
| Subject: | Re: Access Privileges |
| Date: | 2003-10-16 17:40:33 |
| Message-ID: | 20031016174033.GE28009@wolff.to |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-novice |
On Thu, Oct 16, 2003 at 10:15:47 -0700,
David Rickard <David(dot)Rickard(at)GTScompanies(dot)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.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruno Wolff III | 2003-10-16 17:45:25 | Re: Date Formats and Conversions |
| Previous Message | David Rickard | 2003-10-16 17:15:47 | Access Privileges |