Devrim GUNDUZ <devrim@gunduz.org> writes:
>>> pg_regress: could not set database default locales
>>
>> What shows up in the postmaster log file?
> You mean src/test/regress/log/postmaster.log, right?
> Actually not that much:
> LOG: unexpected EOF on client connection
Hmm, that seems to be the only sign of trouble, which I guess means we
have to conclude the problem is on the client side not the server side.
The part of the pg_regress script that is failing is evidently
"$bindir/psql" $psql_options -c "\
checkpoint;
alter database \"$dbname\" set lc_messages to 'C';
alter database \"$dbname\" set lc_monetary to 'C';
alter database \"$dbname\" set lc_numeric to 'C';
alter database \"$dbname\" set lc_time to 'C';" "$dbname" 2>/dev/null
if [ $? -ne 0 ]; then echo "$me: could not set database default locales" (exit 2); exit
fi
Try removing the "2>/dev/null" bit so that you can see if any error
messages come out from psql.
regards, tom lane