Thread: pgsql-server/src/backend/main main.c

pgsql-server/src/backend/main main.c

From
momjian@svr1.postgresql.org (Bruce Momjian)
Date:
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    momjian@svr1.postgresql.org    04/03/15 12:14:26

Modified files:
    src/backend/main: main.c

Log message:
    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