Find list of views present
postgres=# select * from pg_views where schemaname not in ('pg_catalog','information_schema','sys'); count -------
postgresql configurationintermediate
by PostgreSQL
13 views
postgres=# select * from pg_views where schemaname not in ('pg_catalog','information_schema','sys'); count -------
1234567891011
postgres=#
select * from pg_views where schemaname not in ('pg_catalog','information_schema','sys');
count
-------
postgres#
\dv
List of relations
Schema | Name | Type | Owner
--------+--------------------+------+--------------
public | pg_stat_statements | view | enterprisedb
(1 row)Please to add comments
No comments yet. Be the first to comment!