Re: Reimplementing permission checks for rules - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Reimplementing permission checks for rules
Date
Msg-id Pine.LNX.4.21.0009281046010.363-100000@peter
Whole thread Raw
In response to Re: Reimplementing permission checks for rules  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane writes:

> OK.  BTW, what is the status of the changeover you proposed re using
> OIDs instead of int4 userids as the unique identifiers for users?

Because of the pg_dumpall thing that had to be postponed for another
release, otherwise the users would be associated to the wrong groups on
restore.

> In other words, should my field be type Oid or type int4?

Interesting question, actually, because the master uid global variable has
always been a Oid type but it was mostly referenced as int4.  Considering
that we have a whole oid/int4 mess and that you can't have negative uid's
anyway, you might as well go for the Oid now if you don't mind.

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: The Data Base System is in recovery mode
Next
From: devik@cdi.cz
Date:
Subject: Re: pgsql is 75 times faster with my new index scan