Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-general by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group