## 52.97. `pg_views`

[]()

 The view `pg_views` provides access to useful information about each view in the database.

**Table 52.98. `pg_views` Columns**

|                                               Column Type<br/><br/> Description                                               |
|-------------------------------------------------------------------------------------------------------------------------------|
|`schemaname` `name` (references [`pg_namespace`](catalog-pg-namespace.html).`nspname`)<br/><br/> Name of schema containing view|
|              `viewname` `name` (references [`pg_class`](catalog-pg-class.html).`relname`)<br/><br/> Name of view              |
|        `viewowner` `name` (references [`pg_authid`](catalog-pg-authid.html).`rolname`)<br/><br/> Name of view's owner         |
|                `definition` `text`<br/><br/> View definition (a reconstructed [SELECT](sql-select.html) query)                |

