X-Original-To: pgsql-admin-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 3A7EC9FB1EA for ; Thu, 14 Sep 2006 03:31:22 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 64165-09 for ; Thu, 14 Sep 2006 06:31:18 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by postgresql.org (Postfix) with ESMTP id B15D59FA36A for ; Thu, 14 Sep 2006 03:31:17 -0300 (ADT) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.8/8.13.8) with ESMTP id k8E6VB1B064133 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 14 Sep 2006 00:31:14 -0600 (MDT) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.8/8.13.8) with ESMTP id k8E6VBP6072934; Thu, 14 Sep 2006 00:31:11 -0600 (MDT) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.8/8.13.8/Submit) id k8E6VBhT072933; Thu, 14 Sep 2006 00:31:11 -0600 (MDT) (envelope-from mfuhr) Date: Thu, 14 Sep 2006 00:31:11 -0600 From: Michael Fuhr To: Thilina Ranaweera Cc: pgsql-admin@postgresql.org Subject: Re: create user access only to specific tables Message-ID: <20060914063111.GB72750@winnie.fuhr.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=SPF_PASS, UNPARSEABLE_RELAY X-Spam-Level: X-Archive-Number: 200609/125 X-Sequence-Number: 23039 On Tue, Sep 12, 2006 at 06:11:19PM +0600, Thilina Ranaweera wrote: > I am new to PostgreSql .Please tell me how to define user access only to > selected tables See the GRANT and REVOKE commands. http://www.postgresql.org/docs/8.1/interactive/ddl-priv.html http://www.postgresql.org/docs/8.1/interactive/sql-grant.html http://www.postgresql.org/docs/8.1/interactive/sql-revoke.html -- Michael Fuhr