Windows uses codepages rather than the environment, so we work around
Bruce Momjian <bruce@momjian.us>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/main/main.c | modified | +27 −1 |