PG_VIEWS
PG_VIEWS displays basic information about each view in the database.
| Name | Type | Reference | Description |
|---|---|---|---|
| schemaname | name | PG_NAMESPACE.nspname | Name of the schema that contains the view |
| viewname | name | PG_CLASS.relname | View name |
| viewowner | name | PG_AUTHID.Erolname | Owner of the view |
| definition | text | - | Definition of the view |
Example
Query all the views in a specified schema.
1 | SELECT * FROM pg_views WHERE schemaname = 'public'; |

What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot