Re: bug in permission handling? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: bug in permission handling?
Date
Msg-id 5778.1011022141@sss.pgh.pa.us
Whole thread Raw
In response to bug in permission handling?  (Martin Renters <martin@datafax.com>)
Responses Re: bug in permission handling?  (Martin Renters <martin@datafax.com>)
Re: bug in permission handling?  (Lincoln Yeoh <lyeoh@pop.jaring.my>)
Re: bug in permission handling?  (Gavin Sherry <swm@linuxworld.com.au>)
List pgsql-hackers
Martin Renters <martin@datafax.com> writes:
> Should the permissions of a deleted user get assigned to a new user
> as in the example below?

That can happen, since the default "usesysid" assignment is "max
existing usesysid + 1".  If you delete the last user then their sysid
becomes a candidate for reassignment.  This is not real good, but fixing
it isn't that high on the priority list (and is difficult to do unless
we take away the option of hand-assigned sysids ... otherwise we could
just have a sequence generator for sysids).
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: 7.1 vs. 7.2 on AIX 5L
Next
From: "Zeugswetter Andreas SB SD"
Date:
Subject: Re: 7.1 vs. 7.2 on AIX 5L