Summary
The catalog pg_extension stores information about the installed extensions. See extend_extensions for details about extensions.
(Description quoted from the official PostgreSQL documentation.)
Columns
The pg_extension system catalog exposes the following columns (names, types and descriptions are taken verbatim from the PostgreSQL documentation):
oidoid
Row identifierextnamename
Name of the extensionextowneroidreferencespg_authid.oid
Owner of the extensionextnamespaceoidreferencespg_namespace.oid
Schema containing the extension’s exported objectsextrelocatablebool
True if extension can be relocated to another schemaextversiontext
Version name for the extensionextconfigoid[]referencespg_class.oid
Array of regclass OIDs for the extension’s configuration table(s), or NULL if noneextconditiontext[]
Array of WHERE-clause filter conditions for the extension’s configuration table(s), or NULL if none
Related catalogs
This object references the following other system catalogs:
extowner→pg_authidextnamespace→pg_namespaceextconfig→pg_class
Version applicability
Present in PostgreSQL 17, 18, 19 (verified against each release’s documentation). This is a long-standing system object that also exists in earlier PostgreSQL releases.
Related & references
Reference: PostgreSQL documentation — pg_extension.