Further testing shows it is windows networking causing the issue.Copying files to and from the server is 5 to 6 times slower on aWindows client compared to the Linux client.
The issue is not specific to libpq.--
Rob