select open change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

SYSTEM CATALOGS / SYSTEM VIEWS

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

Kind
System views
Columns in this snapshot
4
Definition source
English manual

Columns 4

ColumnTypeDescription / reference
schemanamenameName of schema containing view
pg_namespace.nspname
viewnamenameName of view
pg_class.relname
viewownernameName of view's owner
pg_authid.rolname
definitiontextView definition (a reconstructed SELECT query)
Column history across versions

Definition snapshot: english-manuals:506f3d417c5c9e8ab44046b66ad… · English manual source