Re: pg_depend question - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: pg_depend question
Date
Msg-id 20060531191314.GH23169@svana.org
Whole thread Raw
In response to pg_depend question  (Tony Caduto <tony_caduto@amsoftwaredesign.com>)
List pgsql-general
On Wed, May 31, 2006 at 02:10:38PM -0500, Tony Caduto wrote:
> Hi,
> I am working on a dependency/referenced by viewer and given a query like so:
> select refobjid from pg_depend where objid = 91640
>
> how do I determine what refobjid is?  is there a function or something I
> have missed or do I just run brute force queries against the system tables?

That's what refclassid tells you. It's the OID of the table where this
OID is relevent for...

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Attachment

pgsql-general by date:

Previous
From: Tony Caduto
Date:
Subject: pg_depend question
Next
From: "Eliana Providel "
Date:
Subject: problemas con psql -l