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 10:49:02 -0300
Message-ID: <20060301134902.GB4800@surnet.cl> (raw)
In-Reply-To: <ad39daf90602282020q7a65b072l20a119788dbe2db7@mail.gmail.com>
References: <ad39daf90602282020q7a65b072l20a119788dbe2db7@mail.gmail.com>

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



view thread (6+ messages)  latest in thread

Message-ID: <20060301134902.GB4800@surnet.cl>
Permalink:  ../20060301134902.GB4800@surnet.cl/
Also on:    postgresql.org/message-id/20060301134902.GB4800@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: <20060301134902.GB4800@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