The attached tiny patch forces C locale on the temp location built by pg_regress - it fixes recent regression problems observed on Windows.
cheers
andrew