Re: How to remove a superuser

Поиск
Список
Период
Сортировка
От Jim C. Nasby
Тема Re: How to remove a superuser
Дата
Msg-id 20061010204123.GR72517@nasby.net
обсуждение исходный текст
Ответ на How to remove a superuser  (Richard Ray <rray@mstc.state.ms.us>)
Ответы Re: How to remove a superuser
Список pgsql-admin
On Tue, Oct 10, 2006 at 02:22:53PM -0500, Richard Ray wrote:
> I need to drop a superuser account. I get
>
> dba=# drop role bram;
> ERROR:  role "bram" cannot be dropped because some objects depend on it
> DETAIL:  owner of view teacher
> owner of type teacher
> owner of view temp1
> owner of type temp1
> ...
>
> What is the preferred method.

You need to reassign ownership of those objects to someone else.
--
Jim Nasby                                            jim@nasby.net
EnterpriseDB      http://enterprisedb.com      512.569.9461 (cell)

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

Предыдущее
От: "Tomeh, Husam"
Дата:
Сообщение: Re: How to remove a superuser
Следующее
От: Jim Nasby
Дата:
Сообщение: Re: non-standard 'CREATE INDEX' problem