<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Pg_tables on Postgres Scripts</title><link>https://www.postgresscripts.com/tags/pg_tables/</link><description>Recent content in Pg_tables on Postgres Scripts</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>PostgresScripts.com</copyright><lastBuildDate>Mon, 13 Apr 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://www.postgresscripts.com/tags/pg_tables/index.xml" rel="self" type="application/rss+xml"/><item><title>List All Schemas in Your PostgreSQL Database</title><link>https://www.postgresscripts.com/post/list-schemas-in-postgresql/</link><pubDate>Mon, 13 Apr 2026 00:00:00 +0000</pubDate><guid>https://www.postgresscripts.com/post/list-schemas-in-postgresql/</guid><description>
&lt;h2 id="how-to-list-all-schemas-in-a-postgresql-database"&gt;How to List All Schemas in a PostgreSQL Database&lt;/h2&gt;
&lt;p&gt;A PostgreSQL database can contain multiple schemas. Schemas act as namespaces that group tables, views, functions, and other objects. In a fresh database you will find &lt;code&gt;public&lt;/code&gt; and a set of system schemas. In a larger application database you may find dozens of application schemas, one per tenant, or schemas that separate different parts of the codebase.&lt;/p&gt;
&lt;p&gt;Knowing which schemas exist and who owns them is a basic but essential administrative task. These queries give you that information quickly.&lt;/p&gt;</description></item></channel></rss>