Re: Proposal for enhancements of privilege system

Поиск
Список
Период
Сортировка
От Andreas Zeugswetter
Тема Re: Proposal for enhancements of privilege system
Дата
Msg-id 00052810335406.00145@zeus
обсуждение исходный текст
Ответ на Re: Proposal for enhancements of privilege system  (Chris Bitmead <chrisb@nimrod.itg.telstra.com.au>)
Ответы Re: Proposal for enhancements of privilege system  (Peter Eisentraut <peter_e@gmx.net>)
Список 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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andreas Zeugswetter
Дата:
Сообщение: Re: Re: [SQL] aliases break my query
Следующее
От: Andreas Zeugswetter
Дата:
Сообщение: RE: Berkeley DB...