Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avYD0-00024z-3u for pgsql-hackers@arkaria.postgresql.org; Wed, 27 Apr 2016 22:45:26 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1avYCz-0005QD-5T for pgsql-hackers@arkaria.postgresql.org; Wed, 27 Apr 2016 22:45:25 +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.84_2) (envelope-from ) id 1avYBd-0003q2-EQ for pgsql-hackers@postgresql.org; Wed, 27 Apr 2016 22:44:01 +0000 Received: from yoda.llamalab.com ([194.14.207.58] helo=yoda.mksoft.nu) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1avYBa-0004wN-Um for pgsql-hackers@postgresql.org; Wed, 27 Apr 2016 22:44:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mksoft.nu; s=20151129; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:Cc:References:To:Subject; bh=CYhFtsi1H59wLlcBkHHsA6G+YnKRjHgTjUj0i0crnBw=; b=U1+gnY06bGXkrf//zuFOm8flu6rSkAng9c799XZf62S8LTsusXcxhiLnsEE0zuO1d8HGanL82A+T1z5UPSkF5qHWIWZH5QWm+IhVB5o4pCiJppnHjF1Q1g0aDnH4znn0SC1HmGy7ZgA3vWkILzQApecYLmrl9lp5xrBfaj0xeEmyMhpnnl4UaR7ekh3FMrJ1EK3AeDAH3zQhVDy9jYVJKoYLlokfkpcKk0pFX85O5kpqW6URa++QoyEJaiqEPedx6OD8mpPr95ug7QU1B7EXUHRbWOMvB54z3+7i/P1z+cW5mBAnGELzSEl6hfzHPzjj5YQcKDfdhbRJdywTdJkfmw==; Received: from c83-250-83-50.bredband.comhem.se ([83.250.83.50] helo=[10.100.0.2]) by yoda.mksoft.nu with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1avYBW-0005pB-G5; Thu, 28 Apr 2016 00:43:55 +0200 Subject: Re: Re: [COMMITTERS] pgsql: Modify the isolation tester so that multiple sessions can wait. To: Tom Lane , Thomas Munro References: <20160427190259.GA42596@alvherre.pgsql> <3621.1461795307@sss.pgh.pa.us> Cc: Alvaro Herrera , Robert Haas , "pgsql-hackers@postgresql.org" , =?UTF-8?Q?Mikael_Kjellstr=c3=b6m?= From: =?UTF-8?Q?Mikael_Kjellstr=c3=b6m?= Message-ID: <941b941a-3d66-5e80-58cf-c7b5c1988a0b@mksoft.nu> Date: Thu, 28 Apr 2016 00:44:03 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: <3621.1461795307@sss.pgh.pa.us> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.7 (--) 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 On 2016-04-28 00:15, Tom Lane wrote: > Thomas Munro writes: >>> Also happens on OpenBSD 5.8. Isn't this a classic case where memmove >>> is called for? Replacing the memcpy at line 617 with memmove makes >>> the tests run successfully, but at first glance the other two >>> instances of memcpy in run_permutation should also be changed to >>> memmove, no? > > Yeah, that's clearly busted. Surprising that it has not failed on > any other platforms. > >> Suggested patch attached. > > Will push in a moment. And that seems to have done the trick. I started a manual run of HEAD on curculio and now it's green on the build farm. Thanks! /Mikael -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers