X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id F41DB9DC99B; Wed, 1 Mar 2006 11:00:14 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 99328-03; Wed, 1 Mar 2006 11:00:19 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- X-Greylist: from auto-whitelisted by SQLgrey- Received: from mx2.surnet.cl (mx2.surnet.cl [216.155.73.181]) by postgresql.org (Postfix) with ESMTP id 407409DC9FE; Wed, 1 Mar 2006 11:00:12 -0400 (AST) Received: from unknown (HELO cluster.surnet.cl) ([216.155.73.165]) by mx2.surnet.cl with ESMTP; 01 Mar 2006 12:21:38 -0300 X-IronPort-AV: i="3.99,385,1131332400"; d="scan'208"; a="32778483:sNHT18702700" Received: from alvh.no-ip.org (200.126.99.227) by cluster.surnet.cl (7.0.043) (authenticated as alvherre@surnet.cl) id 43A978FD008AF955; Wed, 1 Mar 2006 12:00:16 -0300 Received: by alvh.no-ip.org (Postfix, from userid 1000) id 7044EC44B73; Wed, 1 Mar 2006 12:00:16 -0300 (CLST) Date: Wed, 1 Mar 2006 12:00:16 -0300 From: Alvaro Herrera To: AKHILESH GUPTA Cc: pgsql-general@postgresql.org, pgsql-sql@postgresql.org Subject: Re: [SQL] regarding grant option Message-ID: <20060301150016.GA6350@surnet.cl> Mail-Followup-To: AKHILESH GUPTA , pgsql-general@postgresql.org, pgsql-sql@postgresql.org References: <20060301134902.GB4800@surnet.cl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11+cvs20060126 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=1.902 required=5 tests=[AWL=-0.017, DNS_FROM_RFC_ABUSE=0.479, DNS_FROM_RFC_POST=1.44] X-Spam-Score: 1.902 X-Spam-Level: * X-Archive-Number: 200603/13 X-Sequence-Number: 91878 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 wrote: > > > > AKHILESH GUPTA wrote: > > > > > here i have to grant permissions to that user individually for each and > > > every table by using: > > > :->> grant ALL ON to ; > > > 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.