Re: pg_depend

Поиск
Список
Период
Сортировка
От Bill Studenmund
Тема Re: pg_depend
Дата
Msg-id Pine.NEB.4.21.0107161830280.642-100000@candlekeep.home-net.internetconnect.net
обсуждение исходный текст
Ответ на Re: pg_depend  (Hiroshi Inoue <Inoue@tpf.co.jp>)
Список pgsql-hackers
On Tue, 17 Jul 2001, Hiroshi Inoue wrote:

> Peter Eisentraut wrote:
> > 
> > Alex Pilosov writes:
> > 
> > > 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 ?

If you used DROP OBJECT CASCADE, yes. That's what CASCADE is saying.

I think the idea is that you can say what happens - delete dependents, or
do something else.

Take care,

Bill



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

Предыдущее
От: Hiroshi Inoue
Дата:
Сообщение: Re: pg_depend
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_depend