PostgreSQL: Features new in 7.4: Information Schema

  • Schemas: Name space in a database.

  • Information Schema: ANSI SQL method of describing database
  • Set of views
  • Schema name: information_schema
  • Interesting views:
    • information_schema.information_schema_catalog_name - current database
    • information_schema.columns - columns for relation in the database, except system catalogs and columns of tables the user doesn't have access to
    • information_schema.routines - all functions in the current database
    • information_schema.schemata - all schemas in the current database that the user has access to
    • information_schema.sql_features - all supported SQL standard features
    • information_schema.sql_sizing - maximum size limits in the database
    • information_schema.tables - all tables in the database which the user has access to
Prev

Next

Page 4