Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> The problem is that if the postmaster takes more than 60 seconds to
> start listening (as is apparently happening on spoonbill - don't yet
> know why) this code falls through.
If the postmaster takes that long to start listening, I'd say we need to
fix the postmaster not pg_regress.
> I'm inclined to run the psql test one more time to make sure we can
> actually connect, and if not then fail at this point.
How does that differ from just iterating the loop one more time?
regards, tom lane