Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eqnVm-0001Q8-6a for pgsql-hackers@arkaria.postgresql.org; Tue, 27 Feb 2018 22:14:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1eqnVk-0002rB-Vv for pgsql-hackers@arkaria.postgresql.org; Tue, 27 Feb 2018 22:14:12 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eqnVk-0002r1-LM for pgsql-hackers@lists.postgresql.org; Tue, 27 Feb 2018 22:14:12 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eqnVh-000755-Ax for pgsql-hackers@postgresql.org; Tue, 27 Feb 2018 22:14:11 +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 w1RME4hj029148; Tue, 27 Feb 2018 17:14:04 -0500 From: Tom Lane To: Robert Haas cc: Etsuro Fujita , Pg Hackers , Rushabh Lathia , Michael Paquier , Ashutosh Bapat Subject: Re: postgres_fdw: perform UPDATE/DELETE .. RETURNING on a join directly In-reply-to: <5A82DCCE.3060107@lab.ntt.co.jp> References: <5A438A45.2000909@lab.ntt.co.jp> <5A57193A.2080003@lab.ntt.co.jp> <6166.1518044513@sss.pgh.pa.us> <5A7BE8E6.200@lab.ntt.co.jp> <28606.1518105934@sss.pgh.pa.us> <5A7CFDDA.8050906@lab.ntt.co.jp> <5A7D76CF.8080601@lab.ntt.co.jp> <20134.1518201188@sss.pgh.pa.us> <18653.1518297871@sss.pgh.pa.us> <5A82DCCE.3060107@lab.ntt.co.jp> Comments: In-reply-to Etsuro Fujita message dated "Tue, 13 Feb 2018 21:40:46 +0900" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <29146.1519769644.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Tue, 27 Feb 2018 17:14:04 -0500 Message-ID: <29147.1519769644@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Etsuro Fujita writes: > (2018/02/11 6:24), Tom Lane wrote: >> However, jaguarundi still shows a problem: >> https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=3Djaguarundi&dt= =3D2018-02-10%2008%3A41%3A32 > I ran the postgres_fdw regression test with no sleep two times in a = > CLOBBER_CACHE_ALWAYS-enabled build, and then the regression test with = > the sleep (60 seconds) two times, but I couldn't reproduce that in both = > cases. I suspect the changes in the order of the RETURNING output there= = > was still caused by autovacuum kicking in partway through the run. So = > to make the regression test more stable against autovacuum, I'd propose = > to modify the regression test to disable autovacuum for the remote table= = > (ie "S 1"."T 1") (and perform VACUUM ANALYZE to that table manually = > instead) in hopes of getting that fixed. Attached is a patch for that. = > I think changes added by the previous patch wouldn't make sense = > anymore, so I removed those changes. Ping? We're still seeing those failures on jaguarundi. regards, tom lane