Re: how to check objects dependency??

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: how to check objects dependency??
Дата
Msg-id 18966.1193860699@sss.pgh.pa.us
обсуждение исходный текст
Ответ на how to check objects dependency??  (Jessica Richard <rjessil@yahoo.com>)
Ответы Re: how to check objects dependency??  (Jessica Richard <rjessil@yahoo.com>)
Список pgsql-admin
Jessica Richard <rjessil@yahoo.com> writes:
> I am trying to drop a user but it complained with the following message:
> ERROR:  role "joe" cannot be dropped because some objects depend on it
> DETAIL:  1 objects in database Jan_test
> 1 objects in database Jan

> this user does not own any tables in those two databases. Is there any command I can use to check all the
dependencieson this user? 

Try to do the DROP ROLE within those databases.  You'll get more detail
about owned objects within the current database, but from outside that
database the info isn't reachable ...

            regards, tom lane

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: how to check objects dependency??
Следующее
От: "Scott Marlowe"
Дата:
Сообщение: Re: Upgrading from 7.2.1 to 8.x