[prev in list] [next in list] [prev in thread] [next in thread]
List: postgresql-general
Subject: Re: [GENERAL] How can I look at a recursive table dependency tree?
From: Tom Lane <tgl () sss ! pgh ! pa ! us>
Date: 2009-05-30 15:49:02
Message-ID: 9581.1243698542 () sss ! pgh ! pa ! us
[Download RAW message or body]
Greg Stark <stark@enterprisedb.com> writes:
> On Fri, May 29, 2009 at 5:10 PM, Emi Lu <emilu@encs.concordia.ca> wrote:
>> Is it possible to find all view names depend on one table?
> With 8.4 you can use a query like this (change 'messages' to your table name)
In earlier versions the usual trick is
BEGIN;
DROP VIEW whatever RESTRICT;
... read the error message ...
ROLLBACK;
regards, tom lane
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic