检查PostgreSQL中是否使用了视图

时间:2015-06-19 07:10:45

标签: database postgresql views postgresql-9.1

我在PostgreSQL中有一个视图,我想检查视图被引用的所有位置。我知道下面的查询将搜索所有程序&函数,如果使用它将返回。

select * from pg_proc where prosrc ilike '%someview%';

还有其他方法或替代解决方案吗?

0 个答案:

没有答案