I successed to compile and run PostgreSQL for mingw
but
bootstrap_template1 function in initdb.c made a problem to locale.
In PostgeSQL,
if value of LC_COLLATE is not C
then sortting is not work when use korean language.
I used this command to make db.
initdb -D data --no-locale
this command successed.
but pg_controldata command returned incorrect values.
LC_COLLATE: Korean_Korea.949
LC_CTYPE: Korean_Korea.949
My windows box is korean XP.
How I can change above these values to C?