>> Because, as opposed to the developers of the projects that you're
>> apparently familiar with, the Postgres developers have common sense ;)
intidb fallbacks to en_US locale if locale specified in command line is not
found.
This causes invalid cluster to be created.
How to fix this ?
Is this really common sense ?
>> Seriously though, functionality like that has no place in a database
>> server. That's the responsibility of the OS, or if it lacks in that
>> respect, for third-party tools.
Using CREATE DATABASE to determine server locale seems not reasonable since
this command
can fail for other reasons also. There is no way to know was this failing
due to missing locale.
What is best command to probe postgresql 9 server for locale existence ?
Andrus.