X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id E233ED1E0D2 for ; Fri, 27 Feb 2004 13:09:38 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 52779-07 for ; Fri, 27 Feb 2004 09:09:34 -0400 (AST) Received: from wolff.to (wolff.to [66.93.249.74]) by svr1.postgresql.org (Postfix) with SMTP id 78713D1DCEB for ; Fri, 27 Feb 2004 09:09:30 -0400 (AST) Received: (qmail 19863 invoked by uid 500); 27 Feb 2004 13:11:56 -0000 Date: Fri, 27 Feb 2004 07:11:56 -0600 From: Bruno Wolff III To: Louie Kwan Cc: "'pgsql-admin@postgresql.org'" Subject: Re: "SELECT ANY TABLE" !! Message-ID: <20040227131156.GA12169@wolff.to> Mail-Followup-To: Louie Kwan , "'pgsql-admin@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.6i X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200402/376 X-Sequence-Number: 12549 On Mon, Feb 23, 2004 at 14:51:24 -0500, Louie Kwan wrote: > I would like to create a user which has only read privilege, something like > "SELECT ANY TABLE"... > > Any pointer or help is appreciated. If 7.3 or later you can do this. You have to be careful about what access you give them. In particular when you give them usage access to a database, the default access to the public schema allows them to create objects. Read through the documentation on grant and be aware of what the defaults are for database, schema and function access.