Re: pg_depend
От | Bruce Momjian |
---|---|
Тема | Re: pg_depend |
Дата | |
Msg-id | 200107181526.f6IFQMQ11082@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: pg_depend (Philip Warner <pjw@rhyme.com.au>) |
Список | pgsql-hackers |
> > > >Wouldn't that work simply by using the oid for the column in pg_attribute > >as the primary dependency, rather than the table itself, from pg_class? So, > >the dependency chain would be: > > > >view -> attribute -> table > > > >So your examples would 'just work', I think. > > > > True. We need to remember to store both sets of dependencies (used attrs as > well as the table dependency). TODO update with column labels: * Add pg_depend table for dependency recording; use sysrelid, oid, depend_sysrelid, depend_oid, name -- 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 по дате отправления: