Re: New system catalog idea

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: New system catalog idea
Date: 2001-05-22 01:35:11
Message-ID: 200105220135.f4M1ZBa22643@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


I think this is a good idea, and something to add to the TODO list. We
are hitting too many of these gotchas.

* Add pg_depend table to track object dependencies

[ Charset ISO-8859-1 unsupported, converting... ]
> While we're on the subject of new system catalogs, how about a many to many
> catalog like this:
>
> pg_depend (oid obj, oid dep)
>
> That maps the oid of a system object (such as a constraint, index, function,
> trigger, anything) to all other system objects that are dependent upon it.
> Although it may take a bit of work to implement, it will trivialise
> supporting CASCADE/RESTRICT on DROP.
>
> Chris
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
>

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Lincoln Yeoh 2001-05-22 01:38:54 Re: AW: Plans for solving the VACUUM problem
Previous Message Bruce Momjian 2001-05-22 01:22:52 Re: More pgindent follies