Re: Reimplementing permission checks for rules

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Reimplementing permission checks for rules
Дата
Msg-id Pine.LNX.4.21.0009281046010.363-100000@peter
обсуждение исходный текст
Ответ на Re: Reimplementing permission checks for rules  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: The Data Base System is in recovery mode
Следующее
От: devik@cdi.cz
Дата:
Сообщение: Re: pgsql is 75 times faster with my new index scan