52.22. pg\_extension

|        52.22. `pg_extension`        |                   |                           |                  |                                             |
|:-----------------------------------:|-------------------|---------------------------|------------------|---------------------------------------------|
|[Prev](catalog-pg-event-trigger.html)|[Up](catalogs.html)|Chapter 52. System Catalogs|[Home](index.html)| [Next](catalog-pg-foreign-data-wrapper.html)|

---

## 52.22. `pg_extension`

[]()

 The catalog `pg_extension` stores information about the installed extensions. See [Section 38.17](extend-extensions.html) for details about extensions.

**Table 52.22. `pg_extension` Columns**

|                                                                     Column Type<br/><br/> Description                                                                     |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|                                                                   `oid` `oid`<br/><br/> Row identifier                                                                    |
|                                                             `extname` `name`<br/><br/> Name of the extension                                                              |
|                                `extowner` `oid` (references [`pg_authid`](catalog-pg-authid.html).`oid`)<br/><br/> Owner of the extension                                 |
|             `extnamespace` `oid` (references [`pg_namespace`](catalog-pg-namespace.html).`oid`)<br/><br/> Schema containing the extension's exported objects              |
|                                          `extrelocatable` `bool`<br/><br/> True if extension can be relocated to another schema                                           |
|                                                       `extversion` `text`<br/><br/> Version name for the extension                                                        |
|`extconfig` `oid[]` (references [`pg_class`](catalog-pg-class.html).`oid`)<br/><br/> Array of `regclass` OIDs for the extension's configuration table(s), or `NULL` if none|
|                 `extcondition` `text[]`<br/><br/> Array of `WHERE`-clause filter conditions for the extension's configuration table(s), or `NULL` if none                 |

 Note that unlike most catalogs with a “namespace” column, `extnamespace` is not meant to imply that the extension belongs to that schema. Extension names are never schema-qualified. Rather, `extnamespace` indicates the schema that contains most or all of the extension's objects. If `extrelocatable` is true, then this schema must in fact contain all schema-qualifiable objects belonging to the extension.

---

|[Prev](catalog-pg-event-trigger.html)|[Up](catalogs.html)| [Next](catalog-pg-foreign-data-wrapper.html)|
|:------------------------------------|:-----------------:|--------------------------------------------:|
|      52.21. `pg_event_trigger`      |[Home](index.html) |       52.23. `pg_foreign_data_wrapper`      |

 // \<![CDATA[ \<-- For SVG support if ('WebSocket' in window) { (function() { function refreshCSS() { var sheets = [].slice.call(document.getElementsByTagName("link")); var head = document.getElementsByTagName("head")[0]; for (var i = 0; i \< sheets.length; ++i) { var elem = sheets[i]; head.removeChild(elem); var rel = elem.rel; if (elem.href && typeof rel != "string" || rel.length == 0 || rel.toLowerCase() == "stylesheet") { var url = elem.href.replace(/(&|\\?)\_cacheOverride=\\d+/, ''); elem.href = url + (url.indexOf('?') \>= 0 ? '&' : '?') + '\_cacheOverride=' + (new Date().valueOf()); } head.appendChild(elem); } } var protocol = window.location.protocol === 'http:' ? 'ws://' : 'wss://'; var address = protocol + window.location.host + window.location.pathname + '/ws'; var socket = new WebSocket(address); socket.onmessage = function(msg) { if (msg.data == 'reload') window.location.reload(); else if (msg.data == 'refreshcss') refreshCSS(); }; console.log('Live reload enabled.'); })(); } // ]]\>