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 036839DC896; Wed, 1 Mar 2006 09:49:01 -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 79959-06; Wed, 1 Mar 2006 09:49:05 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- X-Greylist: from auto-whitelisted by SQLgrey- Received: from mx1.surnet.cl (mx1.surnet.cl [216.155.73.180]) by postgresql.org (Postfix) with ESMTP id 45B429DC821; Wed, 1 Mar 2006 09:48:59 -0400 (AST) Received: from unknown (HELO cluster.surnet.cl) ([216.155.73.165]) by mx1.surnet.cl with ESMTP; 01 Mar 2006 11:11:46 -0300 X-IronPort-AV: i="4.02,156,1139194800"; d="scan'208"; a="42914787:sNHT89305276" Received: from alvh.no-ip.org (200.126.99.227) by cluster.surnet.cl (7.0.043) (authenticated as alvherre@surnet.cl) id 43A978FD008AD2B4; Wed, 1 Mar 2006 10:49:02 -0300 Received: by alvh.no-ip.org (Postfix, from userid 1000) id BC7AEC44B73; Wed, 1 Mar 2006 10:49:02 -0300 (CLST) Date: Wed, 1 Mar 2006 10:49:02 -0300 From: Alvaro Herrera To: AKHILESH GUPTA Cc: pgsql-general@postgresql.org, pgsql-sql@postgresql.org Subject: Re: [SQL] regarding grant option Message-ID: <20060301134902.GB4800@surnet.cl> Mail-Followup-To: AKHILESH GUPTA , pgsql-general@postgresql.org, pgsql-sql@postgresql.org References: 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.931 required=5 tests=[AWL=0.012, DNS_FROM_RFC_ABUSE=0.479, DNS_FROM_RFC_POST=1.44] X-Spam-Score: 1.931 X-Spam-Level: * X-Archive-Number: 200603/10 X-Sequence-Number: 91875 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/ PostgreSQL Replication, Consulting, Custom Development, 24x7 support