Re: pg_class changes for group ownership - Mailing list pgsql-hackers

From Stephen Frost
Subject Re: pg_class changes for group ownership
Date
Msg-id 20041229180440.GC10437@ns.snowman.net
Whole thread Raw
In response to Re: pg_class changes for group ownership  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pg_class changes for group ownership
List pgsql-hackers
* Tom Lane (tgl@sss.pgh.pa.us) wrote:
> Stephen Frost <sfrost@snowman.net> writes:
> >   Due to the fact that group system id's and user system id's can
> >   overlap, pg_class will need to change in order to accomedate group
> >   ownership.  The things I've thought of so far, in order of preference:
>
> I thought that the agreed-on direction for this was to merge users and
> groups into a single kind of entity, or at least make sure that they
> share a common unique identifier space.  Then AclId is still sufficient
> as an ownership indicator, and you don't need any of these kluges.
> IIRC something of this sort is needed for improved compliance with the
> SQL spec anyway --- see past discussions about "roles".

Ah, alright, sounds good to me.  I'll look into making them share a
common unique identifier space, that shouldn't be too difficult.  Of
course, that'll require a dump/restore, I expect..  I don't suppose that
could possibly happen before 8.0, eh? :)
Stephen

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_class changes for group ownership
Next
From: Andrew Dunstan
Date:
Subject: Re: race condition for drop schema cascade?