AW: [HACKERS] Create Group

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas SB
Тема AW: [HACKERS] Create Group
Дата
Msg-id 219F68D65015D011A8E000006F8590C603FDC1BE@sdexcsrv1.f000.d0188.sd.spardat.at
обсуждение исходный текст
Список pgsql-hackers
> 
> > > CREATE GROUP name [ WITH [ SYSID id ] [ USER name1, name2, ... ] ]
> > > ALTER GROUP name WITH SYSID id      /* changes sysid */
> > > ALTER GROUP name ADD USER name1, name2, ...
> > > ALTER GROUP name DROP USER name1, name2, ...
> > > DROP GROUP name
> 
> > I think a group can be interpreted somehow like a priviledge.
> > As such the statement to add or remove a user from a group 
> > would be a "grant" statement.
> 
> Not really, at least not in our context. A group is a collection
> ("group") of users which can collectively be granted privileges. For
> example, you can do grant select on your_table to group staff 
> (even right
> now).

At least Informix and Oracle see it that way (and call it role).
The functionality is the same.

Andreas


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: [HACKERS] Create Group
Следующее
От: Thomas Lockhart
Дата:
Сообщение: Re: [PATCHES] createdb/dropdb fixes