Re: How to find correct locale name for CREATE DATABASE - Mailing list pgsql-general

From Alban Hertroys
Subject Re: How to find correct locale name for CREATE DATABASE
Date
Msg-id 1AAEE4CE-FA98-4C20-991D-F37A07B5EA88@solfertje.student.utwente.nl
Whole thread Raw
In response to Re: How to find correct locale name for CREATE DATABASE  ("Andrus" <kobruleht2@hot.ee>)
Responses Re: How to find correct locale name for CREATE DATABASE  ("Andrus" <kobruleht2@hot.ee>)
Re: How to find correct locale name for CREATE DATABASE  (Craig Ringer <craig@postnewspapers.com.au>)
List pgsql-general
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
havecommon sense ;) 

Seriously though, functionality like that has no place in a database server. That's the responsibility of the OS, or if
itlacks in that respect, for third-party tools. 

Alban Hertroys

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


!DSPAM:737,4cf698ed802651815816680!



pgsql-general by date:

Previous
From: Vick Khera
Date:
Subject: Re: Cannot start Postgres- FATAL: invalid cache id: 19
Next
From: "Jolles, Peter M (GE Energy)"
Date:
Subject: Re: Cannot start Postgres- FATAL: invalid cache id: 19