Attached is an updated patch which I believe fixes windows and the other test failures. At least on my machine make check-world passes now when compiled with --enable-tap-tests
I also included a second patch which adds some basic documentation for the libpq tests.
0001-Add-non-blocking-version-of-PQcancel.patch
Description: 0001-Add-non-blocking-version-of-PQcancel.patch
0002-Add-documentation-for-libpq_pipeline-tests.patch
Description: 0002-Add-documentation-for-libpq_pipeline-tests.patch