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 AB8EAD1B53E for ; Fri, 7 Nov 2003 13:17:32 +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 13131-02 for ; Fri, 7 Nov 2003 09:17:04 -0400 (AST) Received: from jefftrout.com (h00a0cc4084e5.ne.client2.attbi.com [24.128.241.68]) by svr1.postgresql.org (Postfix) with SMTP id 11F63D1B523 for ; Fri, 7 Nov 2003 09:17:00 -0400 (AST) Received: (qmail 40572 invoked from network); 7 Nov 2003 13:17:05 -0000 Received: from localhost (HELO squeegit) (threshar@127.0.0.1) by localhost with SMTP; 7 Nov 2003 13:17:05 -0000 Date: Fri, 7 Nov 2003 08:16:53 -0500 From: Jeff To: Gaetano Mendola Cc: pgsql-admin@postgresql.org Subject: Re: read only connection Message-Id: <20031107081653.6d19fae2.threshar@torgo.978.org> In-Reply-To: <3FAAD251.5090900@bigfoot.com> References: <3FAAD251.5090900@bigfoot.com> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/118 X-Sequence-Number: 11106 On Thu, 06 Nov 2003 23:59:29 +0100 Gaetano Mendola wrote: > Already asked, I try again: > > 7.4 give the feature to have transaction in > read only mode, is it possible give permission > to an user to perform db connection in read only > mode ? > create user readonlyuser; revoke insert on [table] from readonlyuser revoke update on [table] from readonlyuser revoke delete on [table] from readonlyuser you could do it with a group as well. > > > Regards > Gaetano Mendola > > > ---------------------------(end of > broadcast)--------------------------- TIP 5: Have you checked our > extensive FAQ? > > http://www.postgresql.org/docs/faqs/FAQ.html -- Jeff Trout http://www.jefftrout.com/ http://www.stuarthamm.net/