pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@commandprompt.com>
To: AKHILESH GUPTA <akhilesh.davim@gmail.com>
Cc: pgsql-general@postgresql.org
Cc: pgsql-sql@postgresql.org
Subject: Re: [SQL] regarding grant option
Date: Wed, 1 Mar 2006 12:00:16 -0300
Message-ID: <20060301150016.GA6350@surnet.cl> (raw)
In-Reply-To: <ad39daf90603010628q5e303d83g4cf419606d8fa726@mail.gmail.com>
References: <ad39daf90602282020q7a65b072l20a119788dbe2db7@mail.gmail.com>
	<20060301134902.GB4800@surnet.cl>
	<ad39daf90603010628q5e303d83g4cf419606d8fa726@mail.gmail.com>

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@commandprompt.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.



view thread (6+ messages)  latest in thread

Message-ID: <20060301150016.GA6350@surnet.cl>
Permalink:  ../20060301150016.GA6350@surnet.cl/
Also on:    postgresql.org/message-id/20060301150016.GA6350@surnet.cl

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: alvherre@commandprompt.com, akhilesh.davim@gmail.com, pgsql-general@postgresql.org
  Subject: Re: [SQL] regarding grant option
  In-Reply-To: <20060301150016.GA6350@surnet.cl>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox