Re: Groups and roles

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Groups and roles
Date: 2003-06-07 15:40:45
Message-ID: 15611.1055000445@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> ... Therefore I ask whether everyone agrees
> that groups and roles are basically equivalent concepts (and perhaps that
> we might in the future strive to make groups more compatible with the
> roles as defined in the SQL standard). Or does anyone see that roles
> might be implemented separately from groups sometime?

Just reading section 4.31.3 of the SQL99 draft, it seems that roles are
pretty much interchangeable with groups, except that a role can be a
member of another role while we don't presently allow groups to be
members of other groups.

So it seems that your question breaks down to:

1. Do we want to someday allow groups to have groups as members? (Seems
reasonable to me.)

2. Are there any other differences between groups and roles? (I'm not
sure about this one.)

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-06-07 16:33:10 Re: Proposal to Re-Order Postgresql.Conf, part II
Previous Message Tom Lane 2003-06-07 15:27:02 Re: Proposal to Re-Order Postgresql.Conf, part II