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

Re: Proposal for enhancements of privilege system

From: Andreas Zeugswetter <andreas(dot)zeugswetter(at)telecom(dot)at>
To: Chris Bitmead <chrisb(at)nimrod(dot)itg(dot)telstra(dot)com(dot)au>, Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Proposal for enhancements of privilege system
Date: 2000-05-28 08:12:23
Message-ID: 00052810335406.00145@zeus (view raw or flat)
Thread:
Lists: pgsql-hackers
On Tue, 23 May 2000, Chris Bitmead wrote:
> Peter Eisentraut wrote:
> 
> > pg_privilege (
> >     priobj oid,
> >     prigrantor oid,
> >     prigrantee oid,
> >     priaction char,
> >     priisgrantable boolean,
> > 
> >     primary key (priobj, prigrantee, priaction)
> > )
> > 
> 
> I like it.

Imho this is an area where it does make sense to look at what other db's do,
because it makes the toolwriters life so much easier if pg behaves like some other
common db. Thus I do not really like a standalone design.

Other db's usually use a char array for priaction and don't have priisgrantable, 
but code it into priaction. Or they use a bitfield. This has the advantage of only 
producing one row per table.

Andreas

In response to

Responses

pgsql-hackers by date

Next:From: Mitch VincentDate: 2000-05-28 14:50:41
Subject: Increasing row size beyond 8k
Previous:From: Andreas ZeugswetterDate: 2000-05-28 07:34:40
Subject: Re: Re: [SQL] aliases break my query

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