Adam Witney <awitney(at)sgul(dot)ac(dot)uk> writes:
> http://bugs.sgul.ac.uk/downloads/temp/regression1.diffs
> http://bugs.sgul.ac.uk/downloads/temp/regression2.diffs
> http://bugs.sgul.ac.uk/downloads/temp/regression3.diffs
If you'd looked, you would have noticed that they're all variations on
psql: could not fork new process for connection: Resource temporarily unavailable
In other words, you've got a system resource limit problem. See
http://developer.postgresql.org/docs/postgres/kernel-resources.html#AEN17862
regards, tom lane