Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avXjw-00073R-Bg for pgsql-hackers@arkaria.postgresql.org; Wed, 27 Apr 2016 22:15:24 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1avXjv-0001RY-Uc for pgsql-hackers@arkaria.postgresql.org; Wed, 27 Apr 2016 22:15:23 +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 1avXjn-0001IF-Ma for pgsql-hackers@postgresql.org; Wed, 27 Apr 2016 22:15:15 +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.84_2) (envelope-from ) id 1avXjl-0004Lc-6h for pgsql-hackers@postgresql.org; Wed, 27 Apr 2016 22:15:14 +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 u3RMF7Y4003622; Wed, 27 Apr 2016 18:15:07 -0400 From: Tom Lane To: Thomas Munro cc: Alvaro Herrera , Robert Haas , "pgsql-hackers@postgresql.org" , =?UTF-8?Q?Mikael_Kjellstr=C3=B6m?= Subject: Re: Re: [COMMITTERS] pgsql: Modify the isolation tester so that multiple sessions can wait. In-reply-to: References: <20160427190259.GA42596@alvherre.pgsql> Comments: In-reply-to Thomas Munro message dated "Thu, 28 Apr 2016 09:54:55 +1200" Date: Wed, 27 Apr 2016 18:15:07 -0400 Message-ID: <3621.1461795307@sss.pgh.pa.us> X-Pg-Spam-Score: -2.9 (--) 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 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. 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