Chapter 33. The Information Schema

Table of Contents
33.1. The Schema
33.2. Data Types
33.3. information_schema_catalog_name
33.4. administrable_role_authorizations
33.5. applicable_roles
33.6. attributes
33.7. check_constraint_routine_usage
33.8. check_constraints
33.9. column_domain_usage
33.10. column_privileges
33.11. column_udt_usage
33.12. columns
33.13. constraint_column_usage
33.14. constraint_table_usage
33.15. data_type_privileges
33.16. domain_constraints
33.17. domain_udt_usage
33.18. domains
33.19. element_types
33.20. enabled_roles
33.21. key_column_usage
33.22. parameters
33.23. referential_constraints
33.24. role_column_grants
33.25. role_routine_grants
33.26. role_table_grants
33.27. role_usage_grants
33.28. routine_privileges
33.29. routines
33.30. schemata
33.31. sequences
33.32. sql_features
33.33. sql_implementation_info
33.34. sql_languages
33.35. sql_packages
33.36. sql_parts
33.37. sql_sizing
33.38. sql_sizing_profiles
33.39. table_constraints
33.40. table_privileges
33.41. tables
33.42. triggers
33.43. usage_privileges
33.44. view_column_usage
33.45. view_routine_usage
33.46. view_table_usage
33.47. views

The information schema consists of a set of views that contain information about the objects defined in the current database. The information schema is defined in the SQL standard and can therefore be expected to be portable and remain stable — unlike the system catalogs, which are specific to PostgreSQL and are modelled after implementation concerns. The information schema views do not, however, contain information about PostgreSQL-specific features; to inquire about those you need to query the system catalogs or other PostgreSQL-specific views.