Re: dropping a user causes pain (#2)

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: dropping a user causes pain (#2)
Дата
Msg-id Pine.LNX.4.56.0308111010510.1333@krusty.localdomain
обсуждение исходный текст
Ответ на Re: dropping a user causes pain (#2)  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Список pgsql-hackers
Christopher Kings-Lynne writes:

> Ah OK, I must have been thinking of the database owner check.  I'd vote for
> (1) checking that they own no objects and by default owning all their stuff
> to the database owner.

The reason none of this will work is that users are global, so when you
drop a user, you would have to dig through all databases to do whatever
action you imagine.  That is not possible.

-- 
Peter Eisentraut   peter_e@gmx.net


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: src/interfaces/cli
Следующее
От: "D'Arcy J.M. Cain"
Дата:
Сообщение: Re: Farewell