In PostgreSQL, we can use the pg_collation
catalog to get a list of the available collations. Another way to do it is to use the \dOS
command.
Using the first method, we can run the following statement to return a list of available collations in PostgreSQL:
SELECT * FROM pg_collation;
These collations are mappings from an SQL name to operating system locale categories.