"PostgreSQL Bugs List" <pgsql-bugs(at)postgresql(dot)org> writes:
> CREATE DATABASE
> pg_regress: could not set database default locales
This is most likely not actually locale-related at all; it's probably
got something to do with a failure to start psql. Please remove the
"2>/dev/null" in the pg_regress script at the point where this error
would be reported, so you can see what the problem really is.
(Yes, we've done that in CVS tip...)
regards, tom lane