Re: pg_depend

Поиск
Список
Период
Сортировка
От Hiroshi Inoue
Тема Re: pg_depend
Дата
Msg-id 3B538D0E.D286DA50@tpf.co.jp
обсуждение исходный текст
Ответ на Re: pg_depend  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: pg_depend  (Bill Studenmund <wrstuden@zembu.com>)
Re: pg_depend  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Peter Eisentraut wrote:
> 
> 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 <type> 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?
> 

Is it really determined that *DROP OBJECT* drops the objects
which are dependent on it ?

regards,
Hiroshi Inoue


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

Предыдущее
От: Hiroshi Inoue
Дата:
Сообщение: Re: ALTER TABLE ADD COLUMN column SERIAL -- unexpected results
Следующее
От: Bill Studenmund
Дата:
Сообщение: Re: pg_depend