Re: BUG #1161: User permissions are kept, even if user is

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #1161: User permissions are kept, even if user is
Дата
Msg-id 1265.1086704984@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #1161: User permissions are kept, even if user is  (Fabien COELHO <coelho@cri.ensmp.fr>)
Ответы Re: BUG #1161: User permissions are kept, even if user is
Список pgsql-bugs
Fabien COELHO <coelho@cri.ensmp.fr> writes:
> The actual simple fix would be that user ids should NOT be reused by
> default. The problem is that I don't think the already used userids are
> kept anywhere, even as a sequence.

In the last discussion of this issue, I think we had agreed in principle
that it'd be a good idea to use a cluster-wide sequence generator to
assign default user and group ids.  Nobody's got round to making it
happen though.  While I don't see any fundamental technical reason why a
sequence object couldn't be relisshared, there's no way to create such a
sequence in the present code --- bringing the thing into being during
initdb would certainly be the major bit of work needed to make it
happen.

(I have some vague recollection that we discussed how to do that during
the last go-round --- if you want to work on this, it'd be a good idea
to look in the archives first.)

            regards, tom lane

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Fabien COELHO
Дата:
Сообщение: Re: BUG #1161: User permissions are kept, even if user is
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Fwd: Bug#249083: postgresql: Postgres SIGSEGV if wins in nsswitch.conf