Oops, patch of pg_regress.c should be disregarded.
Sorry, I think this is desirable.
> Hi.
>
> regression test surely goes wrong.!
>
> hedule --multibyte=SQL_ASCII --load-language=plpgsql
> ============== creating temporary installation ==============
> ============== initializing database system ==============
>
> pg_regress: initdb failed
> Examine ./log/initdb.log for the reason.
> Command was:
> ""C:/MinGW/home/hiroshi/pgsql/src/test/regress/./tmp_check/install//usr/local/pgsql/bin/initdb"
> -D "C:/MinGW/home/hiroshi/pgsql/src/test/regress/./tmp_check/data" -L
> "C:/MinGW/home/hiroshi/pgsql/src/test/regress/./tmp_check/install//usr/local/pgsql/share"
> --noclean
> > "./log/initdb.log" 2>&1"
> make[2]: *** [check] Error 2
> make[2]: Leaving directory `/home/hiroshi/pgsql/src/test/regress'
> make[1]: *** [check] Error 2
> make[1]: Leaving directory `/home/hiroshi/pgsql/src/test'
> make: *** [check] Error 2
>
> -initdb.log-
> Running in noclean mode. Mistakes will not be cleaned up.^M
> The files belonging to this database system will be owned by user "hiroshi".^M
> This user must also own the server process.^M
> ^M
> The database cluster will be initialized with locale Japanese_Japan.932.^M
> initdb: locale Japanese_Japan.932 requires unsupported encoding SJIS^M
> Encoding SJIS is not allowed as a server-side encoding.^M
> Rerun initdb with a different locale selection.^M
> Running in noclean mode. Mistakes will not be cleaned up.^M
> -
>
> after the patch..
>
> ============== shutting down postmaster ==============
> server stopped
>
> =======================
> All 112 tests passed.
> =======================
>
> Anyway, It surely fails now.:-(
>
> Regards,
> Hiroshi Saito
>