Re: pg_depend - Mailing list pgsql-hackers

From Hiroshi Inoue
Subject Re: pg_depend
Date
Msg-id 3B54DCB7.C201408E@tpf.co.jp
Whole thread Raw
In response to Re: pg_depend  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: pg_depend
List pgsql-hackers
Peter Eisentraut wrote:
> 
> Bruce Momjian writes:
> 
> > > That was me.  The point, however, was, given object id 145928, how the
> > > heck to you know what table this comes from?
> >
> > I think we will need the relid of the system table.  I imagine four
> > columns:
> >
> >       object relid
> >       object oid
> >       reference relid
> >       references oid
> 

I like object relidobject oidobject namereference relidreference oid

and unadorned DROP doesn't drop dependent objects.

regards,
Hiroshi Inoue


pgsql-hackers by date:

Previous
From: Hiroshi Inoue
Date:
Subject: Re: ALTER TABLE ADD COLUMN column SERIAL -- unexpected results
Next
From: Bruce Momjian
Date:
Subject: Re: pg_depend