RE: NOCREATETABLE patch (was: Re: Please, help!(about P ostgres))

From: Mike Mascari <mascarm(at)mascari(dot)com>
To: "'Zeugswetter Andreas SB'" <ZeugswetterA(at)wien(dot)spardat(dot)at>, "'Bruce Momjian'" <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: RE: NOCREATETABLE patch (was: Re: Please, help!(about P ostgres))
Date: 2001-05-09 13:29:01
Message-ID: 01C0D86A.7B6E19C0.mascarm@mascari.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

That makes perfect sense to me. I was only going by what System
Privileges are granted to the Oracle roles of the same name. Oracle
has:

CONNECT -
ALTER SESSION
CREATE CLUSTER
CREATE DATABASE LINK
CREATE SEQUENCE
CREATE SESSION
CREATE SYNONYM
CREATE TABLE
CREATE VIEW

RESOURCE -
CREATE CLUSTER
CREATE PROCEDURE
CREATE SEQUENCE
CREATE TABLE
CREATE TRIGGER

DBA -
All systems privileges WITH ADMIN OPTION

But I agree with you. When I was first learning Oracle, I thought it
strange that the CONNECT role had anything more than CREATE/ALTER
SESSION privilege.

Mike Mascari
mascarm(at)mascari(dot)com

-----Original Message-----
From: Zeugswetter Andreas SB [SMTP:ZeugswetterA(at)wien(dot)spardat(dot)at]
Sent: Wednesday, May 09, 2001 3:20 AM
To: 'Bruce Momjian'; mascarm(at)mascari(dot)com
Cc: Karel Zak; pgsql-hackers
Subject: AW: [HACKERS] NOCREATETABLE patch (was: Re: Please,
help!(about P ostgres))

> > The connect group would be granted these System Privileges:

If we keep it like others (e.g. Informix) this System Privilege would
be called
"resource". I like this name better, because it more describes the
detailed
priviledges.

> >
> > CREATE AGGREGATE privilege
> > CREATE INDEX privilege
> > CREATE FUNCTION privilege
> > CREATE OPERATOR privilege
> > CREATE RULE privilege
> > CREATE SESSION privilege
> > CREATE SYNONYM privilege
> > CREATE TABLE privilege
> > CREATE TRIGGER privilege
> > CREATE TYPE privilege
> > CREATE VIEW privilege

The "connect" group would only have the priviledge to connect to the
db [and
create temp tables ?] and rights they where granted, or that were
granted to public.
They would not be allowed to create anything.

Andreas

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2001-05-09 13:33:20 Re: NOCREATETABLE patch (was: Re: Please, help!(about Postgres))
Previous Message Bruce Momjian 2001-05-09 13:27:04 Re: Patch to ALTER TABLE docs