Re: Upgrading to 8.2, changes in user/group management scripts

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Upgrading to 8.2, changes in user/group management scripts
Дата
Msg-id 20070122223557.GV26006@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Upgrading to 8.2, changes in user/group management scripts  ("Peter Koczan" <pjkoczan@gmail.com>)
Список pgsql-admin
Peter Koczan wrote:
> The main thing I'm worried about is the orphaned objects problem. It's not
> adding users so much as removing them that I'm concerned about (I work at a
> University and we remove inactive/non-enrolled users). These cases would
> likely require a lot more in-depth intervention by myself and other staff.

Instead of deleting stuff from pg_authid directly, use DROP ROLE.
If this doesn't work because the role owns something, you may use a
combination of DROP OWNED and REASSIGN OWNED.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: Upgrading to 8.2, changes in user/group management scripts
Следующее
От: Iannsp
Дата:
Сообщение: Re: Function with Array