| From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
|---|---|
| To: | PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Locale support is now on by default |
| Date: | 2002-04-03 05:51:50 |
| Message-ID: | Pine.LNX.4.30.0204030044080.686-100000@peter.localdomain |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
The determination of locale is now done as follows:
collate/ctype:
initdb --lc-collate, initdb --locale, LC_ALL, LC_COLLATE, LANG
messages/monetary/numeric/time:
Have GUC variables lc_messages, etc. The default is "", which means to
inherit from the environment (or whatever setlocale() does with it).
However, initdb will initialize postgresql.conf containing assignments to
these variables determined as with collate/ctype above. So the "real"
defaults are consistent with collate/ctype.
initdb --no-locale is the same as initdb --locale=C, for convenience.
Let's see if these rules end up making sense to everybody.
--
Peter Eisentraut peter_e(at)gmx(dot)net
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2002-04-03 06:04:25 | Re: Locale support is now on by default |
| Previous Message | Oliver Elphick | 2002-04-03 05:48:20 | Re: [HACKERS] v7.2.1 Released: Critical Bug Fix |