pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gaetano Mendola <mendola@bigfoot.com>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Cc: Jeff <threshar@torgo.978.org>
Subject: Re: read only connection
Date: Fri, 07 Nov 2003 19:53:42 +0100
Message-ID: <3FABEA36.5010105@bigfoot.com> (raw)
In-Reply-To: <20031107081653.6d19fae2.threshar@torgo.978.org>
References: <3FAAD251.5090900@bigfoot.com>
	<20031107081653.6d19fae2.threshar@torgo.978.org>

Jeff wrote:
> On Thu, 06 Nov 2003 23:59:29 +0100
> Gaetano Mendola <mendola@bigfoot.com> 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

I know but is not system/tables wide.
Each time that a table is created I shall remember
to revoke the permission, what I was looking for
was an option to insert into pg_hba.conf


Regards
Gaetano Mendola




view thread (5+ messages)  latest in thread

Message-ID: <3FABEA36.5010105@bigfoot.com>
Permalink:  ../3FABEA36.5010105@bigfoot.com/
Also on:    postgresql.org/message-id/3FABEA36.5010105@bigfoot.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: mendola@bigfoot.com, threshar@torgo.978.org
  Subject: Re: read only connection
  In-Reply-To: <3FABEA36.5010105@bigfoot.com>
  References: <3FAAD251.5090900@bigfoot.com> <20031107081653.6d19fae2.threshar@torgo.978.org> <3FABEA36.5010105@bigfoot.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox