Re: read only connection - Mailing list pgsql-admin

From Gaetano Mendola
Subject Re: read only connection
Date
Msg-id 3FABEA36.5010105@bigfoot.com
Whole thread Raw
In response to Re: read only connection  (Jeff <threshar@torgo.978.org>)
Responses Re: read only connection
List pgsql-admin
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


pgsql-admin by date:

Previous
From: Larry Rosenman
Date:
Subject: Re: pg_atoi: zero-length string
Next
From: Gaetano Mendola
Date:
Subject: Re: Out of buffer error