New system catalog idea - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject New system catalog idea
Date
Msg-id ECEHIKNFIMMECLEBJFIGOEJFCAAA.chriskl@familyhealth.com.au
Whole thread Raw
Responses Re: New system catalog idea
List pgsql-hackers
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



pgsql-hackers by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: RE: Updating system catalogs after a tuple deletion
Next
From: "Vadim Mikheev"
Date:
Subject: Re: Plans for solving the VACUUM problem