<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Pg_collation on Postgres Scripts</title><link>https://www.postgresscripts.com/tags/pg_collation/</link><description>Recent content in Pg_collation on Postgres Scripts</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>PostgresScripts.com</copyright><lastBuildDate>Sun, 19 Apr 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://www.postgresscripts.com/tags/pg_collation/index.xml" rel="self" type="application/rss+xml"/><item><title>List Collations in Your PostgreSQL Database</title><link>https://www.postgresscripts.com/post/list-collations-in-postgresql/</link><pubDate>Sun, 19 Apr 2026 00:00:00 +0000</pubDate><guid>https://www.postgresscripts.com/post/list-collations-in-postgresql/</guid><description>
&lt;h2 id="how-to-list-collations-available-in-postgresql"&gt;How to List Collations Available in PostgreSQL&lt;/h2&gt;
&lt;p&gt;A &lt;strong&gt;collation&lt;/strong&gt; defines the rules for sorting and comparing text. It controls how &lt;code&gt;ORDER BY&lt;/code&gt; handles strings, whether &lt;code&gt;a&lt;/code&gt; and &lt;code&gt;A&lt;/code&gt; compare as equal, and how accented characters rank relative to unaccented ones. Every text column in PostgreSQL has a collation, either inherited from the database default or set explicitly on the column or expression.&lt;/p&gt;
&lt;p&gt;Knowing which collations are available is useful when creating columns that need locale-specific sorting, diagnosing unexpected sort order in query results, or migrating data between databases with different locale settings.&lt;/p&gt;</description></item></channel></rss>