database - Check if a view is used in PostgreSQL -


i having view in postgresql , want check places view being referenced. know below query search in procedures & functions , return if used.

select * pg_proc prosrc ilike '%someview%'; 

is there other way or alternate solution?


Comments

Popular posts from this blog

gcc - MinGW's ld cannot perform PE operations on non PE output file -

How to connect android app to App engine -

hadoop - Running Map Reduce Job shows error - Mkdirs failed to create /var/folders/ -