Re: How to find correct locale name for CREATE DATABASE

From: Alban Hertroys <dalroi(at)solfertje(dot)student(dot)utwente(dot)nl>
To: Andrus <kobruleht2(at)hot(dot)ee>
Cc: "Peter Eisentraut" <peter_e(at)gmx(dot)net>, "Thom Brown" <thom(at)linux(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: How to find correct locale name for CREATE DATABASE
Date: 2010-12-01 18:49:55
Message-ID: 1AAEE4CE-FA98-4C20-991D-F37A07B5EA88@solfertje.student.utwente.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 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!

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jolles, Peter M (GE Energy) 2010-12-01 18:58:41 Re: Cannot start Postgres- FATAL: invalid cache id: 19
Previous Message Vick Khera 2010-12-01 18:27:00 Re: Cannot start Postgres- FATAL: invalid cache id: 19