Re: Prevent users from creating tables

From: jseymour(at)linxnet(dot)com (Jim Seymour)
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Prevent users from creating tables
Date: 2004-06-08 21:05:33
Message-ID: 20040608210533.004BC430E@jimsun.linxnet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


"Campano, Troy" <Troy(dot)Campano(at)LibertyMutual(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message CSN 2004-06-08 21:32:08 using regexp backreferences
Previous Message Jim Seymour 2004-06-08 21:01:43 Re: Multiple databases on seperate drives/file systems?