Re: DROP USER weirdness in 7.2.1

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: DROP USER weirdness in 7.2.1
Дата
Msg-id Pine.LNX.4.44.0210152033280.928-100000@localhost.localdomain
обсуждение исходный текст
Ответ на DROP USER weirdness in 7.2.1  (Daniel Kalchev <daniel@digsys.bg>)
Ответы Re: DROP USER weirdness in 7.2.1  (Daniel Kalchev <daniel@digsys.bg>)
Список pgsql-hackers
Daniel Kalchev writes:

> One would normally expect, that when DROP USER someuser is issued, all
> associated data structures will be readjusted, especially ownership and access
> rights.

Perhaps, but the documentation states otherwise.

> There is no way to remove rights of this 'user' 98 using REVOKE etc.
>
> Perhaps full dump/reload will remove the rights, because that user will not be
> found, but restore may fail due to the error conditions.
>
> Any resolution for this?

Recreate the user with the given ID and drop the objects manually.

-- 
Peter Eisentraut   peter_e@gmx.net



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: orderRules() now a bad idea?
Следующее
От: Peter Eisentraut
Дата:
Сообщение: COPY syntax