From: Tom Lane <tgl@sss.pgh.pa.us>
To: Debraj Manna <subharaj.manna@gmail.com>
Cc: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: Default locale in postgres
Date: Fri, 13 Jul 2018 14:26:08 -0400
Message-ID: <773.1531506368@sss.pgh.pa.us> (raw)
In-Reply-To: <CAF6DVKOwLjB43apk3-uiCOS9FNt+wSPm=RR4EvUMpQhhiQ4tWQ@mail.gmail.com>
References: <CAF6DVKOwLjB43apk3-uiCOS9FNt+wSPm=RR4EvUMpQhhiQ4tWQ@mail.gmail.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, subharaj.manna@gmail.com
Subject: Re: Default locale in postgres
In-Reply-To: <773.1531506368@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox