From: Mikael Kjellström <mikael.kjellstrom@mksoft.nu>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Cc: Mikael Kjellström <mikael.kjellstrom@gmail.com>
Subject: Re: Re: [COMMITTERS] pgsql: Modify the isolation tester so that multiple sessions can wait.
Date: Thu, 28 Apr 2016 00:44:03 +0200
Message-ID: <941b941a-3d66-5e80-58cf-c7b5c1988a0b@mksoft.nu> (raw)
In-Reply-To: <3621.1461795307@sss.pgh.pa.us>
References: <CA+TgmoYyxZQSqVvn-DsC79U9g2L1Omi2EDiMVFvoCfoe6yL=cQ@mail.gmail.com>
<20160427190259.GA42596@alvherre.pgsql>
<CAEepm=3hXcJNiPB3h8j0eezn9XV5yQH6Q3d6TTCr4eK36VAQhA@mail.gmail.com>
<CAEepm=3c6anZDXi+XXDiRpY6qYNSDDVQOK_q12qocPA0x1YMLg@mail.gmail.com>
<3621.1461795307@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
On 2016-04-28 00:15, Tom Lane wrote:
> Thomas Munro <thomas.munro@enterprisedb.com> 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
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-committers@postgresql.org
Cc: mikael.kjellstrom@mksoft.nu, tgl@sss.pgh.pa.us, thomas.munro@enterprisedb.com, alvherre@2ndquadrant.com, robertmhaas@gmail.com, pgsql-hackers@postgresql.org, mikael.kjellstrom@gmail.com
Subject: Re: [COMMITTERS] pgsql: Modify the isolation tester so that multiple sessions can wait.
In-Reply-To: <941b941a-3d66-5e80-58cf-c7b5c1988a0b@mksoft.nu>
References: <CA+TgmoYyxZQSqVvn-DsC79U9g2L1Omi2EDiMVFvoCfoe6yL=cQ@mail.gmail.com> <20160427190259.GA42596@alvherre.pgsql> <CAEepm=3hXcJNiPB3h8j0eezn9XV5yQH6Q3d6TTCr4eK36VAQhA@mail.gmail.com> <CAEepm=3c6anZDXi+XXDiRpY6qYNSDDVQOK_q12qocPA0x1YMLg@mail.gmail.com> <3621.1461795307@sss.pgh.pa.us> <941b941a-3d66-5e80-58cf-c7b5c1988a0b@mksoft.nu>
* 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