set lc_messages='C' so that error messages are ASCII ones.
authorHiroshi Inoue <h-inoue@dream.email.ne.jp>
Sat, 8 Oct 2016 13:03:59 +0000 (22:03 +0900)
committerHiroshi Inoue <h-inoue@dream.email.ne.jp>
Sat, 8 Oct 2016 13:03:59 +0000 (22:03 +0900)
winbuild/regress.ps1

index b95b58858c47f6c25212b41612138182afc29e65..56d30c8111d376b4c33c1597ca153f1500c48ba9 100644 (file)
@@ -248,7 +248,7 @@ function SpecialDsn($testdsn, $testdriver)
        }
        Write-Host "`tAdding System DSN=$testdsn"
        $prop = input-dsninfo
-       $prop += "|Debug=0|Commlog=0"
+       $prop += "|Debug=0|Commlog=0|ConnSettings=set+lc_messages='C'"
        $proc = Start-Process ./RegisterRegdsn.exe -Verb runas -Wait -PassThru -ArgumentList "add_dsn", "$testdriver", "$testdsn", "$prop"
 #      Add-OdbcDsn $testdsn -DriverName $testdriver -DsnType "System" -Platform $bit -SetPropertyValue @("Database=contrib_regression", "Server=localhost", "UID=postgres", "PWD=postgres") -EA Stop
        if ($proc.ExitCode -ne 0) {