Changing the locale set on a maching running Postgres

I keep rediscovering that Postgres uses the system locale and timezone database, despite having read other people’s woes. I changed the locale in my NixOS configuration from en_US to en_GB to appease the spell checker on my desktop. When I deployed this updated configuration to one of my servers, all my services immediately fell over. I had the sense to look at journalctl right away which made it very apparent what the problem was: ...

October 29, 2025 · 1 min