Re: ***SPAM*** Re: How to find correct locale name for CREATEDATABASE
| От | Andrus |
|---|---|
| Тема | Re: ***SPAM*** Re: How to find correct locale name for CREATEDATABASE |
| Дата | |
| Msg-id | 0ABC31E37B5947D592487D0A6DF3A240@andrusnotebook обсуждение исходный текст |
| Ответ на | Re: How to find correct locale name for CREATE DATABASE (Craig Ringer <craig@postnewspapers.com.au>) |
| Ответы |
Re: How to find correct locale name for CREATEDATABASE
|
| Список | pgsql-general |
>> 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.
В списке pgsql-general по дате отправления: