DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

42.46. pg_views

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

Table 42-46. pg_views Columns

NameTypeReferencesDescription
schemanamenamepg_namespace.nspnamename of schema containing view
viewnamenamepg_class.relnamename of view
viewownernamepg_authid.rolnamename of view's owner
definitiontext view definition (a reconstructed SELECT query)