pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Petr Jelinek <petr@2ndquadrant.com>
Cc: Peter Eisentraut <peter_e@gmx.net>
Cc: Noah Misch <noah@leadboat.com>
Cc: Augustine, Jobin <jobin.augustine@openscg.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Replication to Postgres 10 on Windows is broken
Date: Sun, 06 Aug 2017 18:17:17 -0400
Message-ID: <16750.1502057837@sss.pgh.pa.us> (raw)
In-Reply-To: <20170806221042.jbgtks277gjs3l6m@alap3.anarazel.de>
References: <20170806062634.GA3180536@rfd.leadboat.com>
	<3819.1502032677@sss.pgh.pa.us>
	<20170806155037.GD3179882@rfd.leadboat.com>
	<6525.1502036947@sss.pgh.pa.us>
	<20170806171436.ve646fu4bpagdrc2@alap3.anarazel.de>
	<3826.1502040882@sss.pgh.pa.us>
	<20170806174822.puc4jq46rqltrtwq@alap3.anarazel.de>
	<20170806200742.sz6yshtq62ayrpa4@alap3.anarazel.de>
	<20170806215521.d6fq4esvx7s5ejka@alap3.anarazel.de>
	<16046.1502057089@sss.pgh.pa.us>
	<20170806221042.jbgtks277gjs3l6m@alap3.anarazel.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Andres Freund <andres@anarazel.de> writes:
> On 2017-08-06 18:04:49 -0400, Tom Lane wrote:
>> io_flag has to be *just* the I/O condition, because we use it in a test
>> after the WaitLatchOrSocket call.

> Hm, right. Wouldn't be particularly consequential,

Yes, it would be.  The entire point of this loop is to avoid blocking
in PQconnectPoll, and that's not guaranteed unless we honor the contract
of only calling it when we've gotten the read-ready or write-ready status
it asked for.

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (51+ messages)  latest in thread

Message-ID: <16750.1502057837@sss.pgh.pa.us>
Permalink:  ../16750.1502057837@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/16750.1502057837@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, andres@anarazel.de, petr@2ndquadrant.com, peter_e@gmx.net, noah@leadboat.com, jobin.augustine@openscg.com
  Subject: Re: Replication to Postgres 10 on Windows is broken
  In-Reply-To: <16750.1502057837@sss.pgh.pa.us>
  References: <20170806062634.GA3180536@rfd.leadboat.com> <3819.1502032677@sss.pgh.pa.us> <20170806155037.GD3179882@rfd.leadboat.com> <6525.1502036947@sss.pgh.pa.us> <20170806171436.ve646fu4bpagdrc2@alap3.anarazel.de> <3826.1502040882@sss.pgh.pa.us> <20170806174822.puc4jq46rqltrtwq@alap3.anarazel.de> <20170806200742.sz6yshtq62ayrpa4@alap3.anarazel.de> <20170806215521.d6fq4esvx7s5ejka@alap3.anarazel.de> <16046.1502057089@sss.pgh.pa.us> <20170806221042.jbgtks277gjs3l6m@alap3.anarazel.de> <16750.1502057837@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox