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 relid
        object oid
        object name
        reference relid
        reference oid

and unadorned DROP doesn't drop dependent objects.

regards,
Hiroshi Inoue

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html

Reply via email to