Re: Re: [COMMITTERS] pgsql: Modify the isolation tester so that multiple sessions can wait. - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Re: [COMMITTERS] pgsql: Modify the isolation tester so that multiple sessions can wait.
Date
Msg-id 3621.1461795307@sss.pgh.pa.us
Whole thread Raw
In response to Re: Re: [COMMITTERS] pgsql: Modify the isolation tester so that multiple sessions can wait.  (Thomas Munro <thomas.munro@enterprisedb.com>)
Responses Re: Re: [COMMITTERS] pgsql: Modify the isolation tester so that multiple sessions can wait.
List pgsql-hackers
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.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgindent
Next
From: Mikael Kjellström
Date:
Subject: Re: Re: [COMMITTERS] pgsql: Modify the isolation tester so that multiple sessions can wait.