Windows uses codepages rather than the environment, so we work around

Bruce Momjian <bruce@momjian.us>

Commit: dea47eee0619f5260fe7f0f44e58cf79251f0229
Author: Bruce Momjian <bruce@momjian.us>
Date: 2004-03-15T16:14:26Z
Releases: 8.0.0
Windows uses codepages rather than the environment, so we work around
that by querying the environment explicitly first for LC_COLLATE and
LC_CTYPE. We have to do this because initdb passes those values in the
environment. If there is nothing there we fall back on the codepage.

Andrew Dunstan

Files

PathChange+/−
src/backend/main/main.c modified +27 −1