Re: Default locale in postgres - Mailing list pgsql-admin

From Tom Lane
Subject Re: Default locale in postgres
Date
Msg-id 773.1531506368@sss.pgh.pa.us
Whole thread Raw
In response to Default locale in postgres  (Debraj Manna <subharaj.manna@gmail.com>)
Responses Re: Default locale in postgres  (Debraj Manna <subharaj.manna@gmail.com>)
List pgsql-admin
Debraj Manna <subharaj.manna@gmail.com> writes:
> Can someone let me know if I am not passing any locale while doing initdb
> what locale (Collate & Ctype) will postgres 9.5.4 pick?

Whatever is the prevailing default in initdb's environment ---
see LANG and LC_XXX environment variables.

If none of those are set, I imagine it'll fall back to C locale,
though this choice is possibly dependent on your local libc.
"man locale" might be informative.

            regards, tom lane


pgsql-admin by date:

Previous
From: Debraj Manna
Date:
Subject: Default locale in postgres
Next
From: Debraj Manna
Date:
Subject: Re: Default locale in postgres