Re: Prevent users from creating tables - Mailing list pgsql-general

From jseymour@linxnet.com (Jim Seymour)
Subject Re: Prevent users from creating tables
Date
Msg-id 20040608210533.004BC430E@jimsun.linxnet.com
Whole thread Raw
In response to Prevent users from creating tables  ("Campano, Troy" <Troy.Campano@LibertyMutual.com>)
List pgsql-general
"Campano, Troy" <Troy.Campano@LibertyMutual.com> wrote:
>
> Hello,
> I'm trying to set up PostgreSQL for proof of concept according to our
> standards.
> I need to create a user for database01 that has the ability to create
> any objects they want.
> They can create tables, views, indexes, etc.
>
> Then I need a second user that has the privileges to only SELECT,
> INSERT, UPDATE, DELETE from objects in a certain database.
>
> How do I grant these privs?
> How do I prevent a user from dropping objects?

http://www.postgresql.org/docs/7.4/static/sql-grant.html

Jim

pgsql-general by date:

Previous
From: Shachar Shemesh
Date:
Subject: Re: Windows Library for libpq
Next
From: jseymour@linxnet.com (Jim Seymour)
Date:
Subject: Re: Multiple databases on seperate drives/file systems?