Re: which view is used another views

From: salah jubeh <s_jubeh(at)yahoo(dot)com>
To: rod(at)iol(dot)ie
Cc: pgsql <pgsql-general(at)postgresql(dot)org>
Subject: Re: which view is used another views
Date: 2011-03-24 18:15:01
Message-ID: 181203.30473.qm@web52702.mail.re2.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thanks guys

pg_depend seems Useful, I will check the manual.

Regards

________________________________
From: Raymond O'Donnell <rod(at)iol(dot)ie>
To: salah jubeh <s_jubeh(at)yahoo(dot)com>
Cc: pgsql <pgsql-general(at)postgresql(dot)org>
Sent: Thu, March 24, 2011 6:18:16 PM
Subject: Re: [GENERAL] which view is used another views

On 24/03/2011 16:06, salah jubeh wrote:
> Hello,
>
> How can I determine the views which are using a certain view.

If you're using pgAdmin, there's a "Dependants" tab which shows you the objects
depending on another object.

Otherwise, I think you can query the pg_catalog.pg_depend table, but I don't
know how you go about that.

Ray.

-- Raymond O'Donnell :: Galway :: Ireland
rod(at)iol(dot)ie

-- Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Merlin Moncure 2011-03-24 19:38:03 Re: Deadlock in libpq
Previous Message Altmann, Sebastian 2011-03-24 17:20:38 Re: [RMX:#] Re: Strange loss of data during INSERT