Re: pg_depend - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: pg_depend
Date
Msg-id 200107181526.f6IFQMQ11082@candle.pha.pa.us
Whole thread Raw
In response to Re: pg_depend  (Philip Warner <pjw@rhyme.com.au>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: PQexec() 8191 bytes limit and text fields
Next
From: Jan Wieck
Date:
Subject: Re: MySQL Gemini code