Search Postgresql Archives

Re: How to find correct locale name for CREATE DATABASE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1 Dec 2010, at 15:15, Andrus wrote:

>> There is no portable operating system interface to get the names of all
>> locales.
> 
> Thank you.
> Why postgres does not use conditional directives like
> 
> #ifdef WINDOWS
> ...
> #endif
> 
> #ifdef LINUX
> ..
> #endif
> 
> to return list of available locales ?


Because, as opposed to the developers of the projects that you're apparently familiar with, the Postgres developers have 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.

Alban Hertroys

--
Screwing up is an excellent way to attach something to the ceiling.


!DSPAM:737,4cf698ed802651815816680!



-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux