Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1du0M9-0005pT-1u for pgsql-hackers@arkaria.postgresql.org; Mon, 18 Sep 2017 18:01:17 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1du0M8-0001BF-Km for pgsql-hackers@arkaria.postgresql.org; Mon, 18 Sep 2017 18:01:16 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1du0KX-0004bZ-Pd for pgsql-hackers@postgreSQL.org; Mon, 18 Sep 2017 17:59:37 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1du0KU-0004IH-MD for pgsql-hackers@postgreSQL.org; Mon, 18 Sep 2017 17:59:37 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v8IHxUWu025174; Mon, 18 Sep 2017 13:59:30 -0400 From: Tom Lane To: Andres Freund cc: pgsql-hackers@postgreSQL.org Subject: Re: src/test/subscription/t/005_encoding.pl is broken In-reply-to: <20170918175829.dyujv4leisqhein4@alap3.anarazel.de> References: <27032.1505749806@sss.pgh.pa.us> <20170918175829.dyujv4leisqhein4@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Mon, 18 Sep 2017 10:58:29 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <25172.1505757570.1@sss.pgh.pa.us> Date: Mon, 18 Sep 2017 13:59:30 -0400 Message-ID: <25173.1505757570@sss.pgh.pa.us> List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Andres Freund writes: > On 2017-09-18 11:50:06 -0400, Tom Lane wrote: >> The reason seems to be that its method of waiting for replication >> to happen is completely inapropos. It's watching for the master >> to say that the slave has received all the WAL, but that does not >> ensure that the logicalrep apply workers have caught up, does it? > To my knowledge here's not really any difference between the two in > logical replication. Received changes are immediately applied, there's > no equivalent to a walreceiver queing up "logical wal" onto disk. > So I'm not sure that theory holds. Well, there's *something* wrong with this test's wait method. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers