Skip site navigation (1) Skip section navigation (2)

Re: Read-only access to a database

From: "Brian A(dot) Seklecki" <bseklecki(at)collaborativefusion(dot)com>
To: "Morten W(dot) Petersen" <morten(at)nidelven-it(dot)no>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Read-only access to a database
Date: 2007-03-21 17:46:53
Message-ID: 1174499213.24543.356.camel@soundwave.pgh.priv.collaborativefusion.com (view raw or flat)
Thread:
Lists: pgsql-admin
Wouldn't you just set read-only ACLs for that role on all of the objects
in the database in question?

~BAS

On Wed, 2007-03-21 at 17:42 +0100, Morten W. Petersen wrote:
> Hi,
> 
> I'd like to create a user that has read-only access to
> a database.
> 
> I've read the docs and fumbled around a bit (even
> tried to use phppgadmin) - but nothing works.
> 
> "CREATE USER username" is about as far as I've
> gotten.  Which other commands would I have to
> use to enable read-only access to a database?
> 
> Thanks,
> 
> Morten
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
> 
>                http://archives.postgresql.org
-- 
Brian A. Seklecki <bseklecki(at)collaborativefusion(dot)com>
Collaborative Fusion, Inc.




IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited.  Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system.



In response to

Responses

pgsql-admin by date

Next:From: Karthikeyan SundaramDate: 2007-03-21 18:33:13
Subject: Re: Read-only access to a database
Previous:From: Guido NeitzerDate: 2007-03-21 17:37:44
Subject: Re: growth of the database

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group