Re: dropping role w/dependent objects

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: dropping role w/dependent objects
Дата
Msg-id 20070404224810.GH19251@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: dropping role w/dependent objects  ("Ed L." <pgsql@bluepolka.net>)
Ответы Re: dropping role w/dependent objects
Список pgsql-general
Ed L. wrote:
> On Wednesday April 4 2007 4:35 pm, Alvaro Herrera wrote:
> >
> > Note that you can give the objects owned by that role to
> > someone else with REASSIGN OWNED, and drop the objects with
> > DROP OWNED (note that they act differently regarding grants;
> > see the docs)
>
> Yes, but how do identify what they are so that I know if I want
> to DROP OWNED them?

There's no way AFAICT, short of peeking the catalogs (or
information_schema).  Try pg_shdepend.

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

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

Предыдущее
От: "Ed L."
Дата:
Сообщение: Re: dropping role w/dependent objects
Следующее
От: "Martin Gainty"
Дата:
Сообщение: Re: dropping role w/dependent objects