| 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 15:00:16 |
| Message-ID: | 20060301150016.GA6350@surnet.cl |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general pgsql-sql |
AKHILESH GUPTA wrote:
> thank you very much sir for your valuable suggestion,
> but i am talking about direct database query...........!
There is none that can help you here, short of making a function in
PL/pgSQL or other language ...
> On 3/1/06, Alvaro Herrera <alvherre(at)commandprompt(dot)com> wrote:
> >
> > 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/
The PostgreSQL Company - Command Prompt, Inc.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | denis | 2006-03-01 16:24:03 | Re: Size comparison between a Composite type and an |
| Previous Message | AKHILESH GUPTA | 2006-03-01 14:28:04 | Re: [SQL] regarding grant option |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Mark Dilger | 2006-03-01 17:05:09 | Re: [SQL] Interval subtracting |
| Previous Message | Simon Kinsella | 2006-03-01 14:43:00 | Re: Help with trigger that updates a row prior to a potentially aborted deletion? |