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 Peter Eisentraut <peter_e@gmx.net>
Re: DROP USER weirdness in 7.2.1 Daniel Kalchev <daniel@digsys.bg>
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
Дата:
От: Peter Eisentraut
Дата:
Сообщение: COPY syntax
FAQ