"Markus Wollny" <Markus(dot)Wollny(at)computec(dot)de> writes:
> For initdb-option "--locale=" I found in the documentation "If this
> option is not specified, the locale is inherited from the environment
> that initdb runs in." So I presume that if I didn't explicitly set it to
> anything other than my current environment, which I didn't, it should be
> okay.
If you're not certain about this, compile contrib/pg_controldata and see
what it says the locale values in your pg_control file are.
regards, tom lane