Re: [SQL] regarding grant option

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: AKHILESH GUPTA <akhilesh(dot)davim(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org, pgsql-sql(at)postgresql(dot)org
Subject: Re: [SQL] regarding grant option
Date: 2006-03-01 13:49:02
Message-ID: 20060301134902.GB4800@surnet.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-sql

AKHILESH GUPTA wrote:

> here i have to grant permissions to that user individually for each and
> every table by using:
> :->> grant ALL ON <tab_name> to <user_name>;
> GRANT
> and all the permissions are granted to that user for that particular table.

Yes. If you are annoyed by having to type too many commands, you can
write a little shell script to do it for you.

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Michael Fuhr 2006-03-01 14:08:23 Re: Triggers question
Previous Message ycrux 2006-03-01 13:22:15 Triggers question

Browse pgsql-sql by date

  From Date Subject
Next Message Simon Kinsella 2006-03-01 14:19:43 Re: Help with trigger that updates a row prior to a potentially aborted deletion?
Previous Message Simon Kinsella 2006-03-01 13:30:23 Help with trigger that updates a row prior to a potentially aborted deletion?