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