Re: pg_depend - Mailing list pgsql-hackers

From Philip Warner
Subject Re: pg_depend
Date
Msg-id 3.0.5.32.20010719005826.03b12100@mail.rhyme.com.au
Whole thread Raw
In response to Re: pg_depend  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: pg_depend  (Bruce Momjian <pgman@candle.pha.pa.us>)
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).


----------------------------------------------------------------
Philip Warner                    |     __---_____
Albatross Consulting Pty. Ltd.   |----/       -  \
(A.B.N. 75 008 659 498)          |          /(@)   ______---_
Tel: (+61) 0500 83 82 81         |                 _________  \
Fax: (+61) 0500 83 82 82         |                 ___________ |
Http://www.rhyme.com.au          |                /           \|                                |    --________--
PGP key available upon request,  |  /
and from pgp5.ai.mit.edu:11371   |/


pgsql-hackers by date:

Previous
From: "Ross J. Reedstrom"
Date:
Subject: Re: pg_depend
Next
From: "Ross J. Reedstrom"
Date:
Subject: Re: pg_depend