Re: pg_depend - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: pg_depend
Date
Msg-id 200107162325.f6GNPRD12763@candle.pha.pa.us
Whole thread Raw
In response to Re: pg_depend  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> The objects would need to be identified by two-part IDs, one part
> specifying the object type and one giving its OID (which is known unique
> within that type).  Possibly object type would be best handled by giving
> the OID of the system catalog containing the object's definition row.
> In any case, looking at the type part would let users of the pg_depend
> catalog figure out what they needed to do.

Yes, exactly.  Also, I can see code that will handles dependencies
differently if it is a pg_class or pg_type row that is mentioned in
pg_depend.

--  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: Bill Studenmund
Date:
Subject: Re: pg_depend
Next
From: Hiroshi Inoue
Date:
Subject: Re: ALTER TABLE ADD COLUMN column SERIAL -- unexpected results