Re: [HACKERS] Replication to Postgres 10 on Windows is broken

From: Andres Freund <andres(at)anarazel(dot)de>
To: Noah Misch <noah(at)leadboat(dot)com>
Cc: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Augustine, Jobin" <jobin(dot)augustine(at)openscg(dot)com>, pgsql-bugs(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] Replication to Postgres 10 on Windows is broken
Date: 2017-08-13 19:57:40
Message-ID: 20170813195740.77yejs2ulmqzkpoa@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

On 2017-08-11 20:56:22 -0700, Noah Misch wrote:
> > > If nobody volunteers, you could always resolve this by reverting 1e8a850 and
> > > successors.
> >
> > I think you're blaming the victim. Our current theory about the cause
> > of this is that on Windows, WaitLatchOrSocket cannot be used to wait for
> > completion of a nonblocking connect() call. That seems pretty broken
> > independently of whether libpqwalreceiver needs the capability.
>
> Yes, the theorized defect lies in APIs commit 1e8a850 used, not in the commit
> itself. Nonetheless, commit 1e8a850 promoted the defect from one reachable
> only by writing C code to one reachable by merely configuring replication on
> Windows according to the documentation. For that, its committer owns this
> open item. Besides the one approach I mentioned, there exist several other
> fine ways to implement said ownership.

FWIW, I'm personally quite demotivated by this style of handling
issues. You're essentially saying that any code change, even if it just
increases exposure of a preexisting bug, needs to be handled by the
committer of the exposing change. And even if that bug is on a platform
the committer doesn't have. And all that despite the issue getting
attention.

I'm not ok with this.

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Andres Freund 2017-08-13 20:04:38 Re: [HACKERS] Replication to Postgres 10 on Windows is broken
Previous Message Noah Misch 2017-08-13 19:46:24 Re: [BUGS] Replication to Postgres 10 on Windows is broken

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2017-08-13 20:04:38 Re: [HACKERS] Replication to Postgres 10 on Windows is broken
Previous Message Noah Misch 2017-08-13 19:46:24 Re: [BUGS] Replication to Postgres 10 on Windows is broken