Re: Replication to Postgres 10 on Windows is broken
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: Tom Lane <tgl@sss.pgh.pa.us>, Petr Jelinek <petr@2ndquadrant.com>, Peter Eisentraut <peter_e@gmx.net>
Cc: Noah Misch <noah@leadboat.com>, "Augustine, Jobin" <jobin.augustine@openscg.com>, pgsql-bugs@postgresql.org
Date: 2017-08-06T21:55:21Z
Lists: pgsql-bugs, pgsql-hackers
Attachments
- connected.diff (text/x-diff) patch
On 2017-08-06 13:07:42 -0700, Andres Freund wrote: > Is anybody working on a patch like this? I can try writing one blindly, > if somebody else tests it. But if somebody natively on windows is > working on it, that's going to be more efficient. It'd be nice to have > something merged by wrap tomorrow... Here's a prototype patch implementing what Tom outlined. I've compiled it with mingw under linux, but haven't run it. Could some windows capable person take this for a spin? Unfortunately we can't just push this to the BF and see what it says - our tests don't catch this one... And there's not that much time before the wrap. Anybody have an opinion about adding ifs for WL_SOCKET_CONNECTED to !win32 implementations rather than redefining it to WL_SOCKET_WRITEABLE? - Andres
Commits
-
Distinguish wait-for-connection from wait-for-write-ready on Windows.
- d7ab908fbab5 10.0 landed
- f3a4d7e7c290 11.0 landed
-
Use asynchronous connect API in libpqwalreceiver
- 1e8a85009447 10.0 cited