| From: | Olleg Samojlov <olleg(at)telecom(dot)mipt(dot)ru> |
|---|---|
| To: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: default locale considered harmful? (was Re: [GENERAL] Using |
| Date: | 2003-04-25 12:04:06 |
| Message-ID: | b8b87s$18i0$1@news.hub.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general pgsql-hackers |
Tom Lane wrote:
> I'm beginning to think that would be a good idea, given the increasing
> prevalence of en_US as a platform locale setting. Comments?
Americans will be agree with you. :-)
IMHO:
LC_CTYPE -\
LC_COLLATE - Ideally make client depending for international databases.
But it seems impossible to use indexes. May be add parameter to CREATE
INDEX, which locale (locales) use for sorting text data?
LC_NUMERIC client depending
LC_TIME client depending, default ISO
LC_MONETARY not usefull, lacking monetary type
LC_MESSAGES client depending for notice (client messages), server
depending for console or syslog messages, agree with default C
Summary: Exchange information with local services (stdout, syslog,
files, etc) must be according local locale. With client - according
client locale.
--
Olleg
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2003-04-25 13:57:53 | Re: transactions -- avoid hanging due to locks |
| Previous Message | Mark Kirkwood | 2003-04-25 11:19:47 | Re: Solaris |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | mlw | 2003-04-25 12:29:29 | Re: close() vs. closesocket() |
| Previous Message | Andreas Pflug | 2003-04-25 11:07:49 | Statement triggers 7.4 NEW/OLD |