Unfortunately, pg_regress.sh fails under Cygwin as follows:
============== creating database "regression" ==============
psql: FATAL 1: The database system is starting up
createdb: database creation failed
pg_regress: createdb failed
The attached patch "solves" the problem. Would you be willing to accept
this patch into 7.2? Or, at least one specifically for Cygwin?
Thanks,
Jason