]> granicus.if.org Git - postgresql/commit
Windows uses codepages rather than the environment, so we work around
authorBruce Momjian <bruce@momjian.us>
Mon, 15 Mar 2004 16:14:26 +0000 (16:14 +0000)
committerBruce Momjian <bruce@momjian.us>
Mon, 15 Mar 2004 16:14:26 +0000 (16:14 +0000)
commitdea47eee0619f5260fe7f0f44e58cf79251f0229
tree1829e091b1c8901690a65d7f3cc9f8fc8885d4a0
parent221c0adaa83cda831c8f5add16ada6e8f1083e2a
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
src/backend/main/main.c