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
Список 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 по дате отправления: