Andrew Dunstan <andrew(at)dunslane(dot)net> writes:> The initdb code is failing because we didn't call WSAStartup() - this > just took me ages to track down. All the rest works.
> The attached patch seems to do the trick.
Applied.
regards, tom lane