Re: find all views depend on a schema/table

Поиск
Список
Период
Сортировка
От Emi Lu
Тема Re: find all views depend on a schema/table
Дата
Msg-id 52E29D0B.4000201@encs.concordia.ca
обсуждение исходный текст
Ответ на Re: find all views depend on a schema/table  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
>> 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:

Thank you. I will try to find mapped results for pg_depend.

> begin;
> drop table some_table restrict;
> ... note what it complains about ...
> rollback;

No... to find all views(not in schema1) depend on any schema1.objects.










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