Locales, collations, encodings and the PostgreSQL sort order (1) – basics
When it comes to sorting strings it is all about locales and how PostgreSQL is using them. PostgreSQL uses the locales provided by the underlying operating system, by default this is “C” or “POSIX”. To see how that works lets do some simple demos to start with and then go a bit deeper. The system I am using here is…
