<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Extensions on Postgres Scripts</title><link>https://www.postgresscripts.com/tags/extensions/</link><description>Recent content in Extensions on Postgres Scripts</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>PostgresScripts.com</copyright><lastBuildDate>Tue, 10 Nov 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://www.postgresscripts.com/tags/extensions/index.xml" rel="self" type="application/rss+xml"/><item><title>List PostgreSQL Extension Objects with pg_describe_object</title><link>https://www.postgresscripts.com/post/list-postgresql-extension-objects-with-pg-describe-object/</link><pubDate>Tue, 10 Nov 2026 00:00:00 +0000</pubDate><guid>https://www.postgresscripts.com/post/list-postgresql-extension-objects-with-pg-describe-object/</guid><description>
&lt;h2 id="list-postgresql-extension-objects-with-pg_describe_object"&gt;List PostgreSQL Extension Objects with pg_describe_object&lt;/h2&gt;
&lt;p&gt;You ran &lt;code&gt;CREATE EXTENSION fuzzystrmatch&lt;/code&gt;, and before you move, dump or drop it you need to know what it put in the database. In psql, &lt;code&gt;\dx+ fuzzystrmatch&lt;/code&gt; lists every object that belongs to the extension. That command runs one query against &lt;code&gt;pg_depend&lt;/code&gt;. The query returns one row per member object, and &lt;code&gt;pg_describe_object&lt;/code&gt; turns each one into a readable label.&lt;/p&gt;
&lt;script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1012089347386563"
crossorigin="anonymous"&gt;&lt;/script&gt;
&lt;ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-1012089347386563"
data-ad-slot="7945792173"
data-ad-format="auto"
data-full-width-responsive="true"&gt;&lt;/ins&gt;
&lt;script&gt;
(adsbygoogle = window.adsbygoogle || []).push({});
&lt;/script&gt;
&lt;h2 id="purpose-and-overview"&gt;Purpose and Overview&lt;/h2&gt;
&lt;p&gt;Extensions group database objects so that you can manage them as one unit. When it runs, &lt;code&gt;CREATE EXTENSION&lt;/code&gt; records the identity of every object it creates, so that &lt;code&gt;DROP EXTENSION&lt;/code&gt; can remove them later. That record lives in &lt;code&gt;pg_depend&lt;/code&gt;, the catalog that stores dependency relationships between database objects. Each member object gets a row that points at the extension's row in &lt;code&gt;pg_extension&lt;/code&gt;, with &lt;code&gt;deptype&lt;/code&gt; set to &lt;code&gt;'e'&lt;/code&gt;.&lt;/p&gt;</description></item></channel></rss>