I wrote:
> Of course the larger issue is why it's failing --- 150MB doesn't seem
> like that much for a modern machine. I suspect that PQerrorMessage()
> would tell us something useful, but pg_restore isn't letting us see it.
I've applied a patch for the latter issue. But the only way we can find
out what's happening is if someone will build a Windows version from CVS
tip for the OP...
regards, tom lane