Re: How to grant a user read-only access to a database? - Mailing list pgsql-general

From Kevin Kempter
Subject Re: How to grant a user read-only access to a database?
Date
Msg-id 201003031044.33389.kevink@consistentstate.com
Whole thread Raw
In response to Re: How to grant a user read-only access to a database?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On Wednesday 03 March 2010 08:19:46 am Tom Lane wrote:
> Kevin Kempter <kevink@consistentstate.com> writes:
> > I believe all you have to do is this to create a read only user:
> > create user ro_user with password 'passwd';
> > alter user ro_user set default_transaction_read_only = true;
>
> You do realize the user can just unset that again?
>
>             regards, tom lane


I did not. Thanks for the heads up.



pgsql-general by date:

Previous
From: Bill Moran
Date:
Subject: Re: Work Mem Allocation Questions
Next
From: akp geek
Date:
Subject: Auto VACUUM