Re: find all views depend on a schema/table

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: find all views depend on a schema/table
Дата
Msg-id 13660.1390580600@sss.pgh.pa.us
обсуждение исходный текст
Ответ на find all views depend on a schema/table  (Emi Lu <emilu@encs.concordia.ca>)
Ответы Re: find all views depend on a schema/table  (Emi Lu <emilu@encs.concordia.ca>)
Список pgsql-sql
Emi Lu <emilu@encs.concordia.ca> writes:
> Is there a simple way to query all views depend on a schema or table?

Well, you could build something that examines pg_depend, or you could
try this:

begin;
drop table some_table restrict;
... note what it complains about ...
rollback;
        regards, tom lane



В списке pgsql-sql по дате отправления:

Предыдущее
От: Emi Lu
Дата:
Сообщение: find all views depend on a schema/table
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: consulting the question about the usage about SSH Tunnel function