From: Andreas Zeugswetter <andreas.zeugswetter@telecom.at>
To: Chris Bitmead <chrisb@nimrod.itg.telstra.com.au>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: PostgreSQL Development <pgsql-hackers@postgresql.org>
Subject: Re: Proposal for enhancements of privilege system
Date: Sun, 28 May 2000 10:12:23 +0200
Message-ID: <00052810335406.00145@zeus> (raw)
In-Reply-To: <3929D582.9372C87D@nimrod.itg.telecom.com.au>
References: <Pine.LNX.4.21.0005221915300.392-100000@localhost.localdomain>
<3929D582.9372C87D@nimrod.itg.telecom.com.au>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: andreas.zeugswetter@telecom.at, chrisb@nimrod.itg.telstra.com.au, peter_e@gmx.net
Subject: Re: Proposal for enhancements of privilege system
In-Reply-To: <00052810335406.00145@zeus>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox