Re: Granting Privleges on All Tables in One Comand?

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Adam <adam(at)spatialsystems(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Granting Privleges on All Tables in One Comand?
Date: 2006-01-12 06:13:42
Message-ID: 43C5F396.9080909@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Adam wrote:

> Is it possible to 'GRANT SELECT ON ALL TABLES TO User' in 1 command ?

No it is not. But you easily loop it with a one line script :)

>
> I saw the question in 2003 and wonder if it's still true.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
>
> http://archives.postgresql.org

--
The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: PLphp, PLperl - http://www.commandprompt.com/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jonel Rienton 2006-01-12 06:17:52 Re: Finding orphan records
Previous Message Assad Jarrahian 2006-01-12 05:51:27 Re: sql (Stored procedure) design question