Re: pg_depend

Поиск
Список
Период
Сортировка
Искать
От
Peter Eisentraut
Тема
Re: pg_depend
Дата
Msg-id
Pine.LNX.4.30.0107170022020.680-100000@peter.localdomain
Ответ на
Re: pg_depend (Alex Pilosov)
Список
Дерево обсуждения
Re: pg_depend Hiroshi Inoue <Inoue@tpf.co.jp>
Re: pg_depend "Ross J. Reedstrom" <reedstrm@rice.edu>
Re: pg_depend Bill Studenmund <wrstuden@zembu.com>
Alex Pilosov writes:

> > I'm not so convinced on that idea.  Assume you're dropping object foo.
> > You look at pg_depend and see that objects 145928, 264792, and 1893723
> > depend on it.  Great, what do you do now?
> I believe someone else previously suggested this:
>
> drop  object [RESTRICT | CASCADE]
>
> to make use of dependency info.

That was me.  The point, however, was, given object id 145928, how the
heck to you know what table this comes from?

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter


В списке pgsql-hackers по дате отправления
От: Alex Pilosov
Дата:
Сообщение: Re: pg_depend
От: Alex Pilosov
Дата:
Сообщение: Re: pg_depend
FAQ