Re: somebody working on: Prevent default re-use of sysids for dropped users and groups? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: somebody working on: Prevent default re-use of sysids for dropped users and groups?
Date
Msg-id 15860.1102117260@sss.pgh.pa.us
Whole thread Raw
In response to Re: somebody working on: Prevent default re-use of sysids  (Kris Jurka <books@ejurka.com>)
List pgsql-hackers
Kris Jurka <books@ejurka.com> writes:
> On Fri, 3 Dec 2004, Tom Lane wrote:
>> No one has any idea how to do this reasonably --- the problem is you
>> have no visibility into databases other than the one you're connected
>> to, so you can't tell what the user owns in other databases.

> What about Alvaro's shared dependencies work:
> http://archives.postgresql.org/pgsql-hackers/2004-10/msg00963.php

I think the practicality of that is still TBD ... particularly with
respect to the question of tracking ACL entries as opposed to just owners.

If we could track such things, then the whole notion of sysids for
users could probably go away, and we could just use OIDs for them.
So I'm not against pursuing the idea, I'm just worried about the
overhead and locking implications.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Kris Jurka
Date:
Subject: Re: somebody working on: Prevent default re-use of sysids
Next
From: Tom Lane
Date:
Subject: Re: rc1 packaged ...