Re: pg_depend

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: pg_depend
Дата
Msg-id 200107171355.f6HDtFK29545@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: pg_depend  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: pg_depend  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
> Bruce Momjian writes:
> 
> > > That was me.  The point, however, was, given object id 145928, how the
> > > heck to you know what table this comes from?
> >
> > I think we will need the relid of the system table.  I imagine four
> > columns:
> >
> >     object relid
> >     object oid
> >     reference relid
> >     references oid
> 
> I'm not seeing the point.  You're essentially duplicating the information
> that's already available in the system catalogs.  This is bound to become
> a catastrophe the minute a user steps in and does manual surgery on some
> catalog.  (And yes, manual surgery should still be possible.)

But how then do you find the system table that uses the given oid? 
Wasn't that your valid complaint?

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: spshealy@yahoo.com
Дата:
Сообщение: SIGCHLD handler in Postgres C function.
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: pg_depend